AlkantarClanX12
Current Path : /opt/alt/python310/lib64/python3.10/__pycache__/ |
Current File : //opt/alt/python310/lib64/python3.10/__pycache__/posixpath.cpython-310.pyc |
o 6��fz? � @ 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,�d-d.�Z!d/d0� Z"e j#d1kZ$d6d2d3�Z%d4d5� Z&dS )7a� 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 )N� /r )� isinstance�bytes��path� r2 �0/opt/alt/python310/lib64/python3.10/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 <