Hacked By AnonymousFox
a
R�fi= � @ s d Z dZdZdZdZdZdZdZdZddl Z ddl
Z
ddlZddlZdd lT g d
�Z
dd� Zd
d� Zdd� Zdd� Zdd� Zdd� Zejj e_ dd� Zdd� Zdd� Zdd� Zdd � Zd!d"� Zd#d$� Zdadad%d&� Zd'd(� Zd)d*� Z d+d,� Z!d-d.� Z"e
j#d/kZ$d4d0d1�Z%d2d3� Z&dS )5a� Common operations on Posix pathnames.
Instead of importing this module directly, import os and refer to
this module as os.path. The "os.path" name is an alias for this
module on Posix systems; on other systems (e.g. Windows),
os.path provides the same operations in a manner specific to that
platform, and is an alias to another module (e.g. ntpath).
Some of this can actually be useful on non-Posix systems too, e.g.
for manipulation of the pathname component of URLs.
�.�..�/�:z
/bin:/usr/binNz /dev/null� )�*)&�normcase�isabs�join�
splitdrive�split�splitext�basename�dirname�commonprefix�getsize�getmtime�getatime�getctime�islink�exists�lexists�isdir�isfile�ismount�
expanduser�
expandvars�normpath�abspath�samefile�sameopenfile�samestat�curdir�pardir�sep�pathsep�defpath�altsep�extsep�devnull�realpath�supports_unicode_filenames�relpath�
commonpathc C s t | t�rdS dS d S )N� /r )�
isinstance�bytes��path� r2 �./opt/alt/python39/lib64/python3.9/posixpath.py�_get_sep) s
r4 c C s
t �| �S )z6Normalize case of pathname. Has no effect under Posix��os�fspath)�sr2 r2 r3 r 4 s r c C s t �| �} t| �}| �|�S )zTest whether a path is absolute)r6 r7 r4 �
startswith)r8 r# r2 r2 r3 r <