File: //proc/self/root/lib64/python3.9/__pycache__/ntpath.cpython-39.pyc
a
�i\g � @ s� d Z dZdZdZdZdZdZdZdZdd l Z dd l
Z
dd lZdd lZdd
lT g d�Z
dd
� Zdd� Zdd� Zdd� Zdd� Zdd� Zdd� Zejj e_ dd� Zdd� Zdd� Zd d!� Zzdd"lmZ W n ey� d ZY n0 d#d$� Zd%d&� Zd'Zd a d a!d(d)� Z"d*d+� Z#d,d-� Z$zdd.lm%Z% W n e�y: e$Z&Y n
0 d/d0� Z&zdd1lm'Z'm(Z) W n" e�yz d2d3�d4d5�Z*Y n(0 e+fd6d7�Z,e+fd8d9�Z-d2d3�d:d5�Z*e.e
d;��o�e
�/� d< d=kZ0dCd>d?�Z1d@dA� Z2zddBlm3Z4 W n e�y� Y n0 d S )Dz�Common pathname manipulations, WindowsNT/95 version.
Instead of importing this module directly, import os and refer to this
module as os.path.
�.�..�\�;�/z.;C:\bin�nul� N)�*)'�normcase�isabs�join�
splitdrive�split�splitext�basename�dirname�commonprefix�getsize�getmtime�getatime�getctime�islink�exists�lexists�isdir�isfile�ismount�
expanduser�
expandvars�normpath�abspath�curdir�pardir�sep�pathsep�defpath�altsep�extsep�devnull�realpath�supports_unicode_filenames�relpath�samefile�sameopenfile�samestat�
commonpath�
ALLOW_MISSINGc C s t | t�rdS dS d S )N� \/�\/)�
isinstance�bytes��path� r6 �/usr/lib64/python3.9/ntpath.py�
_get_bothseps# s
r8 c C s8 t �| �} t| t�r$| �dd��� S | �dd��� S dS )zaNormalize case of pathname.
Makes all characters lowercase and all slashes into backslashes.� /� \r r N)�os�fspathr2 r3 �replace�lower��sr6 r6 r7 r - s
r c C sj t �| �} t| t�r,| �dd��d�rBdS n| �dd��d�rBdS t| �d } t| �d koh| d t| �v S )
zTest whether a path is absoluter9 r: � \\?\Tr r �\\?\� r ) r; r<