File: //lib64/python3.6/__pycache__/posixpath.cpython-36.pyc
3
i? ' @ sf d Z dZdZdZdZdZdZdZdZddl Z ddl
Z
ddlZddlZdd lT d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(d)d*d+d,d-d.d/d0g'Z
d1d2 Zd3d
Zd4d Zd5d Zd6d Zd7d Zejj e_ d8d
Zd9d Zd:d Zd;d Zd<d Zd=d Zd>d Zdadad?d Zd@d ZdAd Z dBdCdDd,Z!dEdF Z"e
j#dGkZ$dJdHd.Z%dId/ Z&dS )Ka 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. Mac, Windows),
os.path provides the same operations in a manner specific to that
platform, and is an alias to another module (e.g. macpath, ntpath).
Some of this can actually be useful on non-Posix systems too, e.g.
for manipulation of the pathname component of URLs.
.z../:z:/bin:/usr/binNz /dev/null )*normcaseisabsjoin
splitdrivesplitsplitextbasenamedirnamecommonprefixgetsizegetmtimegetatimegetctimeislinkexistslexistsisdirisfileismount
expanduser
expandvarsnormpathabspathsamefilesameopenfilesamestatcurdirpardirseppathsepdefpathaltsepextsepdevnullrealpathsupports_unicode_filenamesrelpath
commonpath
ALLOW_MISSINGc C s t | trdS dS d S )N /r )
isinstancebytes)path r1 !/usr/lib64/python3.6/posixpath.py_get_sep) s
r3 c C s. t j| } t| ttfs*tdj| jj| S )z6Normalize case of pathname. Has no effect under Posixz2normcase() argument must be str or bytes, not '{}') osfspathr. r/ str TypeErrorformat __class____name__)sr1 r1 r2 r 4 s
c C s t j| } t| }| j|S )zTest whether a path is absolute)r4 r5 r3
startswith)r; r"