Critics have remarked that those four worthies were truly peerless throughout the ages; yet the present falls short of the pastβ€”the ancients favored unadorned simplicity, whereas the moderns prefer refined elegance. Styles of substance and ornament rise and fall in succession, shifting with the changing mores of the times; such evolution is simply the natural order of things. The ideal lies in honoring antiquity without clashing with the present, and embracing modernity without succumbing to its flawsβ€”embodying that perfect balance of substance and refinement that defines the true gentleman. There is surely no need to abandon a carved palace in favor of a cave dwelling, or to trade a jade carriage for a primitive cart with solid wooden wheels.🌌 SpectraShell

🌌 SpectraShell

Current path: lib64/python3.6/__pycache__/



⬆️ Go up: /lib64/python3.6

πŸ“„ Viewing: macpath.cpython-36.pyc

3


 \SοΏ½ @s2dZdZdZdZdZdZdZdZdZddl	Z	ddl
TddlZddlTd	d
ddd
ddddddddddddddddddd d!d"d#d$d%d&d'd(g Zd)d*οΏ½Z
d+d	οΏ½Zd,d
οΏ½Zd-dοΏ½Zd.d
οΏ½Zd/dοΏ½Zejje_d0dοΏ½Zd1dοΏ½Zd2dοΏ½Zd3d4οΏ½Zd5dοΏ½Zd6dοΏ½Zd7dοΏ½Zd8dοΏ½ZGd9d:οΏ½d:eοΏ½Zd;dοΏ½Zd<dοΏ½Zd=d'οΏ½Z d>Z!dS)?z7Pathname and path-related operations for the Macintosh.οΏ½:z::οΏ½.οΏ½
NzDev:NullοΏ½)οΏ½*οΏ½normcaseοΏ½isabsοΏ½joinοΏ½
splitdriveοΏ½splitοΏ½splitextοΏ½basenameοΏ½dirnameοΏ½commonprefixοΏ½getsizeοΏ½getmtimeοΏ½getatimeοΏ½getctimeοΏ½islinkοΏ½existsοΏ½lexistsοΏ½isdirοΏ½isfileοΏ½
expanduserοΏ½
expandvarsοΏ½normpathοΏ½abspathοΏ½curdirοΏ½pardirοΏ½sepοΏ½pathsepοΏ½defpathοΏ½altsepοΏ½extsepοΏ½devnullοΏ½realpathοΏ½supports_unicode_filenamescCst|tοΏ½rdSdSdS)NοΏ½:r)οΏ½
isinstanceοΏ½bytes)οΏ½pathοΏ½r*οΏ½/usr/lib64/python3.6/macpath.pyοΏ½
_get_colons
r,cCs(t|ttfοΏ½s tdj|jjοΏ½οΏ½οΏ½|jοΏ½S)Nz2normcase() argument must be str or bytes, not '{}')r'r(οΏ½strοΏ½	TypeErrorοΏ½formatοΏ½	__class__οΏ½__name__οΏ½lower)r)r*r*r+r#scCs t|οΏ½}||ko|ddοΏ½|kS)zοΏ½Return true if a path is absolute.
    On the Mac, relative paths begin with a colon,
    but as a special case, paths with no colons at all are also relative.
    Anything else is absolute (the string up to the first colon is the
    volume name).NοΏ½)r,)οΏ½sοΏ½colonr*r*r+r*sc
GsοΏ½yοΏ½t|οΏ½}|}|s"|ddοΏ½|xl|D]d}|s:t|οΏ½r@|}q(|ddοΏ½|kr\|ddοΏ½}||krl||}|ddοΏ½|krοΏ½||}||}q(W|Stttfk
rοΏ½tjd|f|οΏ½οΏ½οΏ½YnXdS)Nrr3rοΏ½οΏ½οΏ½)r,rr.οΏ½AttributeErrorοΏ½BytesWarningοΏ½genericpathοΏ½_check_arg_types)r4οΏ½pr5r)οΏ½tr*r*r+r5s(
cCsοΏ½t|οΏ½}||kr |ddοΏ½|fSd}x0tt|οΏ½οΏ½D] }|||dοΏ½|kr2|d}q2W|d|dοΏ½||dοΏ½}}|rοΏ½||krοΏ½||}||fS)zοΏ½Split a pathname into two parts: the directory leading up to the final
    bit, and the basename (the filename, without colons, in that directory).
    The result (s, t) is such that join(s, t) yields the original argument.Nrr3)r,οΏ½rangeοΏ½len)r4r5οΏ½colοΏ½ir)οΏ½filer*r*r+r
LscCs.t|tοΏ½rtj|dtdοΏ½Stj|tttοΏ½SdS)Nr&οΏ½.)r'r(r9οΏ½	_splitextr!rr")r;r*r*r+r\s
cCs|ddοΏ½|fS)a@Split a pathname into a drive specification and the rest of the
    path.  Useful on DOS/Windows/NT; on the Mac, the drive is always
    empty (don't use the volume name -- it doesn't have the same
    syntactic and semantic oddities as DOS drive letters, such as there
    being a separate current directory per drive).Nrr*)r;r*r*r+r	cscCst|οΏ½dS)Nr)r
)r4r*r*r+r
oscCst|οΏ½dS)Nr3)r
)r4r*r*r+rpscCs*t|οΏ½sdSt|οΏ½}t|οΏ½dko(|dS)NFοΏ½r3)rr
r>)r4οΏ½
componentsr*r*r+οΏ½ismountrsrFc	Cs*yddl}|jj|dοΏ½dSdSdS)z6Return true if the pathname refers to a symbolic link.rNrDF)οΏ½Carbon.FileοΏ½FileZResolveAliasFile)r4οΏ½Carbonr*r*r+rxs
cCs(ytj|οΏ½}Wntk
r"dSXdS)zCTest whether a path exists.  Returns True for broken symbolic linksFT)οΏ½osοΏ½lstatοΏ½OSError)r)οΏ½str*r*r+rοΏ½s
cCs|S)zEDummy to retain interface-compatibility with other operating systems.r*)r)r*r*r+rοΏ½scCs|S)zEDummy to retain interface-compatibility with other operating systems.r*)r)r*r*r+rοΏ½sc@seZdZdZdS)οΏ½
norm_errorzPath cannot be normalizedN)r1οΏ½
__module__οΏ½__qualname__οΏ½__doc__r*r*r*r+rNοΏ½srNcCsοΏ½t|οΏ½}||kr||S|j|οΏ½}d}x`|t|οΏ½dkrοΏ½||r|||dr||dkrr||d|dοΏ½=|d}qοΏ½tdοΏ½οΏ½q(|d}q(W|j|οΏ½}|ddοΏ½|krοΏ½t|οΏ½dkrοΏ½||t|οΏ½krοΏ½|ddοΏ½}|S)zLNormalize a pathname.  Will return the same result for
    equivalent paths.r3z+Cannot use :: immediately after volume nameNrDr6r6)r,r
r>rNr)r4r5οΏ½compsr@r*r*r+rοΏ½s 



,cCs6t|οΏ½s.t|tοΏ½rtjοΏ½}ntjοΏ½}t||οΏ½}t|οΏ½S)zReturn an absolute path.)rr'r(rJοΏ½getcwdbοΏ½getcwdrr)r)οΏ½cwdr*r*r+rοΏ½s


cCsοΏ½t|οΏ½}yddl}Wntk
r(|SX|s2|St|οΏ½}|j|οΏ½}|d|}xR|ddοΏ½D]B}t||οΏ½}y|jj|dοΏ½djοΏ½}Wq^|jj	k
rοΏ½Yq^Xq^W|S)Nrr3)
rrGοΏ½ImportErrorr,r
rrHZFSResolveAliasFileZas_pathnameοΏ½Error)r)rIr5rEοΏ½cr*r*r+r$οΏ½s"


T)"rQrrr"rrr r!r#rJοΏ½statr9οΏ½__all__r,rrrr
rrCr	r
rrFrrrrοΏ½	ExceptionrNrrr$r%r*r*r*r+οΏ½<module>sL


	


πŸ“