/snap/core22/2411/usr/lib/python3.10/__pycache__
NameSizeModeActions
abc.cpython-310.pyc67510644editdlrm
aifc.cpython-310.pyc246850644editdlrm
antigravity.cpython-310.pyc8220644editdlrm
argparse.cpython-310.pyc635390644editdlrm
ast.cpython-310.pyc557390644editdlrm
asynchat.cpython-310.pyc70250644editdlrm
asyncore.cpython-310.pyc160020644editdlrm
base64.cpython-310.pyc171620644editdlrm
bdb.cpython-310.pyc258320644editdlrm
binhex.cpython-310.pyc128700644editdlrm
bisect.cpython-310.pyc25880644editdlrm
bz2.cpython-310.pyc108700644editdlrm
calendar.cpython-310.pyc263030644editdlrm
cgi.cpython-310.pyc267230644editdlrm
cgitb.cpython-310.pyc99980644editdlrm
chunk.cpython-310.pyc48600644editdlrm
cmd.cpython-310.pyc127070644editdlrm
code.cpython-310.pyc99570644editdlrm
codecs.cpython-310.pyc332190644editdlrm
codeop.cpython-310.pyc55950644editdlrm
colorsys.cpython-310.pyc32650644editdlrm
compileall.cpython-310.pyc127330644editdlrm
configparser.cpython-310.pyc454580644editdlrm
contextlib.cpython-310.pyc208950644editdlrm
contextvars.cpython-310.pyc2460644editdlrm
copy.cpython-310.pyc69960644editdlrm
copyreg.cpython-310.pyc46830644editdlrm
cProfile.cpython-310.pyc51130644editdlrm
crypt.cpython-310.pyc35500644editdlrm
csv.cpython-310.pyc117980644editdlrm
dataclasses.cpython-310.pyc265780644editdlrm
datetime.cpython-310.pyc565330644editdlrm
decimal.cpython-310.pyc3620644editdlrm
difflib.cpython-310.pyc589050644editdlrm
dis.cpython-310.pyc156560644editdlrm
doctest.cpython-310.pyc761750644editdlrm
enum.cpython-310.pyc260630644editdlrm
filecmp.cpython-310.pyc87490644editdlrm
fileinput.cpython-310.pyc140720644editdlrm
fnmatch.cpython-310.pyc42440644editdlrm
fractions.cpython-310.pyc186000644editdlrm
ftplib.cpython-310.pyc289770644editdlrm
functools.cpython-310.pyc283350644editdlrm
genericpath.cpython-310.pyc39070644editdlrm
getopt.cpython-310.pyc63390644editdlrm
getpass.cpython-310.pyc42100644editdlrm
gettext.cpython-310.pyc182210644editdlrm
glob.cpython-310.pyc58520644editdlrm
graphlib.cpython-310.pyc76160644editdlrm
gzip.cpython-310.pyc185460644editdlrm
hashlib.cpython-310.pyc68450644editdlrm
heapq.cpython-310.pyc138650644editdlrm
hmac.cpython-310.pyc69730644editdlrm
imaplib.cpython-310.pyc424320644editdlrm
imghdr.cpython-310.pyc39050644editdlrm
imp.cpython-310.pyc97860644editdlrm
inspect.cpython-310.pyc851530644editdlrm
io.cpython-310.pyc36630644editdlrm
ipaddress.cpython-310.pyc626700644editdlrm
keyword.cpython-310.pyc9270644editdlrm
linecache.cpython-310.pyc41420644editdlrm
locale.cpython-310.pyc461540644editdlrm
lzma.cpython-310.pyc121000644editdlrm
mailbox.cpython-310.pyc600910644editdlrm
mailcap.cpython-310.pyc73200644editdlrm
mimetypes.cpython-310.pyc176190644editdlrm
modulefinder.cpython-310.pyc161660644editdlrm
netrc.cpython-310.pyc39330644editdlrm
nntplib.cpython-310.pyc316230644editdlrm
ntpath.cpython-310.pyc147040644editdlrm
nturl2path.cpython-310.pyc17470644editdlrm
numbers.cpython-310.pyc118660644editdlrm
opcode.cpython-310.pyc54470644editdlrm
operator.cpython-310.pyc135080644editdlrm
optparse.cpython-310.pyc477540644editdlrm
os.cpython-310.pyc315990644editdlrm
pathlib.cpython-310.pyc420520644editdlrm
pdb.cpython-310.pyc474400644editdlrm
pickle.cpython-310.pyc468820644editdlrm
pickletools.cpython-310.pyc677600644editdlrm
pipes.cpython-310.pyc77690644editdlrm
pkgutil.cpython-310.pyc183610644editdlrm
platform.cpython-310.pyc274290644editdlrm
plistlib.cpython-310.pyc237650644editdlrm
poplib.cpython-310.pyc136700644editdlrm
posixpath.cpython-310.pyc105600644editdlrm
pprint.cpython-310.pyc178750644editdlrm
profile.cpython-310.pyc143910644editdlrm
pstats.cpython-310.pyc236210644editdlrm
pty.cpython-310.pyc41430644editdlrm
pyclbr.cpython-310.pyc97750644editdlrm
pydoc.cpython-310.pyc856450644editdlrm
py_compile.cpython-310.pyc73390644editdlrm
queue.cpython-310.pyc107920644editdlrm
quopri.cpython-310.pyc57940644editdlrm
random.cpython-310.pyc227480644editdlrm
re.cpython-310.pyc142270644editdlrm
reprlib.cpython-310.pyc52500644editdlrm
rlcompleter.cpython-310.pyc59540644editdlrm
runpy.cpython-310.pyc94110644editdlrm
sched.cpython-310.pyc61150644editdlrm
secrets.cpython-310.pyc21750644editdlrm
selectors.cpython-310.pyc171050644editdlrm
shelve.cpython-310.pyc94920644editdlrm
shlex.cpython-310.pyc77820644editdlrm
shutil.cpython-310.pyc385360644editdlrm
signal.cpython-310.pyc29350644editdlrm
site.cpython-310.pyc179220644editdlrm
sitecustomize.cpython-310.pyc2250644editdlrm
smtpd.cpython-310.pyc261470644editdlrm
smtplib.cpython-310.pyc357660644editdlrm
sndhdr.cpython-310.pyc69620644editdlrm
socket.cpython-310.pyc289630644editdlrm
socketserver.cpython-310.pyc253470644editdlrm
sre_compile.cpython-310.pyc151940644editdlrm
sre_constants.cpython-310.pyc63570644editdlrm
sre_parse.cpython-310.pyc217550644editdlrm
ssl.cpython-310.pyc452710644editdlrm
stat.cpython-310.pyc42730644editdlrm
statistics.cpython-310.pyc370510644editdlrm
string.cpython-310.pyc71020644editdlrm
stringprep.cpython-310.pyc170750644editdlrm
struct.cpython-310.pyc3070644editdlrm
subprocess.cpython-310.pyc447410644editdlrm
sunau.cpython-310.pyc164820644editdlrm
symtable.cpython-310.pyc128350644editdlrm
sysconfig.cpython-310.pyc181510644editdlrm
tabnanny.cpython-310.pyc69500644editdlrm
tarfile.cpython-310.pyc706740644editdlrm
telnetlib.cpython-310.pyc185060644editdlrm
tempfile.cpython-310.pyc273390644editdlrm
textwrap.cpython-310.pyc138120644editdlrm
this.cpython-310.pyc12640644editdlrm
threading.cpython-310.pyc449690644editdlrm
timeit.cpython-310.pyc117690644editdlrm
token.cpython-310.pyc27380644editdlrm
tokenize.cpython-310.pyc171940644editdlrm
trace.cpython-310.pyc198700644editdlrm
traceback.cpython-310.pyc217120644editdlrm
tracemalloc.cpython-310.pyc175250644editdlrm
tty.cpython-310.pyc10790644editdlrm
turtle.cpython-310.pyc1288570644editdlrm
types.cpython-310.pyc95250644editdlrm
typing.cpython-310.pyc852770644editdlrm
uu.cpython-310.pyc38670644editdlrm
uuid.cpython-310.pyc224980644editdlrm
warnings.cpython-310.pyc136460644editdlrm
wave.cpython-310.pyc175940644editdlrm
weakref.cpython-310.pyc203430644editdlrm
webbrowser.cpython-310.pyc170000644editdlrm
xdrlib.cpython-310.pyc78800644editdlrm
zipapp.cpython-310.pyc60130644editdlrm
zipfile.cpython-310.pyc618450644editdlrm
zipimport.cpython-310.pyc170330644editdlrm
_aix_support.cpython-310.pyc28790644editdlrm
_bootsubprocess.cpython-310.pyc22940644editdlrm
_collections_abc.cpython-310.pyc329250644editdlrm
_compat_pickle.cpython-310.pyc58720644editdlrm
_compression.cpython-310.pyc45120644editdlrm
_distutils_system_mod.cpython-310.pyc54220644editdlrm
_markupbase.cpython-310.pyc75720644editdlrm
_osx_support.cpython-310.pyc115350644editdlrm
_pydecimal.cpython-310.pyc1577360644editdlrm
_pyio.cpython-310.pyc736540644editdlrm
_py_abc.cpython-310.pyc46830644editdlrm
_sitebuiltins.cpython-310.pyc35470644editdlrm
_strptime.cpython-310.pyc159450644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-310.pyc353850644editdlrm
_sysconfigdata__x86_64-linux-gnu.cpython-310.pyc353790644editdlrm
_threading_local.cpython-310.pyc65390644editdlrm
_weakrefset.cpython-310.pyc76080644editdlrm
__future__.cpython-310.pyc41310644editdlrm
__phello__.foo.cpython-310.pyc1300644editdlrm
Edit: /snap/core22/2411/usr/lib/python3.10/__pycache__/ntpath.cpython-310.pyc (14704B)
o `wik@sdZdZdZdZdZdZdZdZdZdd l Z dd l Z dd l Z dd l Z dd l Tgd Z d d ZzddlmZmZmZddZWn eyKddZYnwddZddZddZddZddZe jje_ddZddZd d!Z d"d#Z!zdd$l"m#Z#Wn eyd Z#Ynwd%d&Z$d'd(Z%d)Z&d a'd a(d*d+Z)d,d-Z*d.d/Z+zdd0l"m,Z,Wn eye+Z-Ynwd1d2Z-z dd3l"m.Z.m/Z0Wn eye-Z1Ynwd4d5Z2d6d7Z3d8d9d:d;Z1e4e d<oe 5d=d>kZ6dDd?d@Z7dAdBZ8z ddCl"m9Z:Wd Sey Yd Sw)EzCommon pathname manipulations, WindowsNT/95 version. Instead of importing this module directly, import os and refer to this module as os.path. ...\;/z.;C:\binnulN)*)&normcaseisabsjoin splitdrivesplitsplitextbasenamedirname commonprefixgetsizegetmtimegetatimegetctimeislinkexistslexistsisdirisfileismount expanduser expandvarsnormpathabspathcurdirpardirseppathsepdefpathaltsepextsepdevnullrealpathsupports_unicode_filenamesrelpathsamefile sameopenfilesamestat commonpathcCst|trdSdS)N\/\/) isinstancebytespathr5/usr/lib/python3.10/ntpath.py _get_bothseps#s r7) LCMapStringExLOCALE_NAME_INVARIANTLCMAP_LOWERCASEcCsdt|}|s |St|tr(t}||ddd}tt t |}| |dStt t |ddS)nNormalize case of pathname. Makes all characters lowercase and all slashes into backslashes. surrogateescaperr) osfspathr1r2sysgetfilesystemencodingdecodereplace_LCMapStringEx_LOCALE_NAME_INVARIANT_LCMAP_LOWERCASEencode)sencodingr5r5r6r 3s    r cCs@t|}t|trtt|ddS|ddS)r;rr)r=r>r1r2fsencodefsdecoderBlowerrGr5r5r6r Fs  cCsjt|}t|tr|dddrdSn |dddr!dSt|d}t|d ko4|d t|vS) zTest whether a path is absolute/\\\?\Trr\\?\r) r=r>r1r2rB startswithr lenr7rLr5r5r6r Ws   r c Gs@t|}t|trd}d}d}nd}d}d}zs|s"|dd|t|\}}ttj|D]>}t|\}} | rG| d|vrG|sB|sD|}| }q.|r\||kr\||krZ|}| }q.|}|rh|d|vrh||}|| }q.|r|d|vr|r|dd|kr|||WS||WSttt fyt j d |g|Rw) NrNr/:rr0:rr ) r=r>r1r2r maprK TypeErrorAttributeError BytesWarning genericpath_check_arg_types) r4pathsr"sepscolon result_drive result_pathpp_drivep_pathr5r5r6r gsL       r cCst|}t|dkrt|trd}d}d}nd}d}d}|||}|dd|dkrq|dd |krq||d}|d krG|d d|fS|||d }||d kr]|d d|fS|d kret|}|d |||d fS|d d|kr|d d|dd fS|d d|fS) aSplit a pathname into drive/UNC sharepoint and relative path specifiers. Returns a 2-tuple (drive_or_unc, path); either part may be empty. If you assign result = splitdrive(p) It is always true that: result[0] + result[1] == p If the path contained a drive letter, drive_or_unc will contain everything up to and including the colon. e.g. splitdrive("c:/dir") returns ("c:", "/dir") If the path contained a UNC path, the drive_or_unc will contain the host name and share up to but not including the fourth directory separator character. e.g. splitdrive("//host/computer/dir") returns ("//host/computer", "/dir") Paths cannot contain both a drive letter and a UNC path. rNrMrTrrrUrrVNrQ)r=r>rSr1r2rBfind)rbr"r%r_normpindexindex2r5r5r6r s.    $  r cCst|}t|}t|\}}t|}|r+||d|vr+|d8}|r+||d|vs|d|||d}}||p>|}|||fS)z~Split a pathname. Return tuple (head, tail) where tail is everything after the final slash. Either part may be empty.rQN)r=r>r7r rSrstrip)rbr^diheadtailr5r5r6r s   r cCs4t|}t|trt|dddSt|dddS)NrNrM.rrr)r=r>r1r2r[ _splitextrbr5r5r6rs  rcC t|dS)z)Returns the final component of a pathnamerQr rrr5r5r6r rcCrs)z-Returns the directory component of a pathnamerrtrrr5r5r6rrurc Cs6zt|}Wn tttfyYdSwt|jS)zhTest whether a path is a symbolic link. This will always return false for Windows prior to 6.0. F)r=lstatOSError ValueErrorrYstatS_ISLNKst_moder4str5r5r6rs  rc Cs*zt|}WdSttfyYdSw)zCTest whether a path exists. Returns True for broken symbolic linksFT)r=rvrwrxr|r5r5r6r s  r)_getvolumepathnamecCspt|}t|}t|}t|\}}|r"|d|vr"| p!||vS||vr(dStr6||t||kSdS)zaTest whether a path is a mount point (a drive root, the root of a share, or a mounted volume)rTF)r=r>r7rr r~rk)r4r^rootrestr5r5r6r s  rcCsJt|}t|tr d}nd}||s|Sdt|}}||kr9||t|vr9|d7}||kr9||t|vs)dtjvrDtjd}n"dtjvrK|Sztjd}Wn ty]d}Ynwt |tjd}|dkr|d|}t|trzt |}tj d}||kr|t |kr|St t ||}t|trt|}|||d S) zLExpand ~ and ~user constructs. If user or $HOME is unknown, do nothing.~~rQ USERPROFILEHOMEPATH HOMEDRIVEUSERNAMEN)r=r>r1r2rRrSr7environKeyErrorr rJgetrrrI)r4tildermnuserhomedrive target_user current_userr5r5r6r;s@              rz.'[^']*'?|%(%|[^%]*%?)|\$(\$|[-\w]+|\{[^}]*\}?)cst|}t|tr5d|vrd|vr|Sts$ddl}|t|j j at}ddddt tddn%d|vr?d |vr?|St sMddl}|t|j j a t }d d d dtj fd d }|||S)zfExpand shell variables of the forms $var, ${var} and %var%. Unknown variables are left unchanged.$%rN{}environb$%{}cs|j}|dur |dS||}|dkr)|kr|S|s"|dS|dd}n|kr/|S|rC|s=|dS|dd}zdurTttjt|WS|WStye|dYSw)NrrQrV) lastindexendswithrRr=rIrrJr)mrnamebracedollarrpercentrbracer5r6repls.       zexpandvars..repl)r=r>r1r2_varsubbrecompile _varpatternrFASCIIsubgetattr_varsubr)r4rrrr5rr6r|s4   rc CsNt|}t|trd}d}d}d}d}n d}d}d}d }d }||r&|S|||}t|\}}||r@||7}||}||}d }|t |kr||rW|||kr[||=n6|||kr|d kr{||d |kr{||d |d =|d 8}n|d kr| |r||=n |d 7}n|d 7}|t |ksM|s|s| ||| |S) z0Normalize path, eliminating double slashes, etc.rNrMrp..)s\\.\rOrrrr)z\\.\rPrrQ) r=r>r1r2rRrBr lstripr rSrappendr ) r4r"r%r r!special_prefixesprefixcompsrmr5r5r6rsH              rcCs@t|}t|st|trt}nt}t||}t|S)zReturn the absolute version of a path as a fallback function in case `nt._getfullpathname` is not available or raises OSError. See bpo-31047 for more. ) r=r>r r1r2getcwdbgetcwdr r)r4cwdr5r5r6_abspath_fallbacks    r)_getfullpathnamec Cs.ztt|WSttfyt|YSw)z&Return the absolute version of a path.)rrrwrxrr3r5r5r6rs  r)_getfinalpathnamereadlinkc Csd}t}t||vrY|t|z|}t|}t|s/t|s&|}W|Sttt||}Wn"t yI}z |j |vrDWYd}~|Sd}~wt yRY|Swt||vs |S)N) rQrerf 2CWi&i(i)) setr add _nt_readlinkr rrr rrwwinerrorrx)r4allowed_winerrorseenold_pathexr5r5r6_readlink_deeps4      rc Csd}d}|rqzt|}|rt||WS|WStyn}zM|j|vr#zt|}||kr<|r3t||n|WWYd}~SWn tyFYnwt|\}}|r[|s[||WYd}~S|rbt||n|}WYd}~nd}~ww|s|S)N)rQrerfrrrr5Arr{iir)rr rwrrr )r4rrornew_pathrr5r5r6_getfinalpathname_nonstrict>s2    rF)strictc Csvt|}t|tr!d}d}d}t}t|tttkr dSnd}d}d}t}t|ttkr5dS| |}|sEt |sEt ||}zt |}d }Wnt yi}z|rX|j}t|}WYd}~nd}~ww|s| |r| |r||t|d} n|t|d} zt | |kr| }W|SW|St y}z|j|kr| }WYd}~|SWYd}~|Sd}~ww|S) NrOs\\?\UNC\s\\s\\.\NULrPz\\?\UNC\z\\z\\.\NULr)rr1r2r=rr rIr'rrRr r rrwrrrS) r4rr unc_prefixnew_unc_prefixr had_prefixinitial_winerrorrspathr5r5r6r(os^        r(getwindowsversionrfrec CsXt|}t|trd}d}d}nd}d}d}|dur|}|s#tdt|}zott|}tt|}t|\}}t|\} } t|t| krQtd | |fd d | |D} d d | |D} d } t | | D]\}}t|t|krzn| d7} ql|gt | | | | d}|s|WSt |WSt ttttfytd||w)z#Return a relative version of a pathrNrprrrrNzno path specifiedz&path is on mount %r, start on mount %rcSg|]}|r|qSr5r5.0xr5r5r6 zrelpath..cSrr5r5rr5r5r6rrrrQr*)r=r>r1r2rxrrr r r ziprSr rXrYrZDeprecationWarningr[r\)r4startr"r r! start_abspath_abs start_drive start_rest path_drive path_rest start_list path_listrme1e2rel_listr5r5r6r*sJ         r*c s|stdtttj|}t|dtrdddndddzfd d |D}fd d |D}ztfd d |D\}Wn tyPtddwttdd |Ddkrbtdt |d \}}| }fdd |D}fdd |D}t |}t |}t|D]\} } | || kr|d| }n q|dt|}|r|n|} | |WSttfytjdg|Rw)zDGiven a sequence of path names, returns the longest common sub-path.z%commonpath() arg is an empty sequencerrNrMrprrrcs g|] }t|qSr5)r rBrK)rrb)r%r"r5r6rs zcommonpath..csg|] \}}|qSr5rtrrlrbr"r5r6rsc3s$|] \}}|ddkVqdS)NrQr5rrr5r6 s"zcommonpath..z%Can't mix absolute and relative pathsNcss|]\}}|VqdSNr5rr5r5r6rsrQzPaths don't have the same drivecg|] }|r|kr|qSr5r5rcr r5r6rcsg|] }fdd|DqS)crr5r5rrr5r6rrz)commonpath...r5)rrGrr5r6rsr.)rxtuplerWr=r>r1r2rrSr rBr minmax enumerater rXrYr[r\) r] drivesplits split_pathsr rr4commons1s2rmrrr5)r%r r"r6r.sL     r.)_isdirr);__doc__r r!r&r"r#r%r$r'r=r?ryr[__all__r7_winapir8rCr9rDr:rEr ImportErrorr r r r rrqrrrrntr~rrrrrrrrrrrrrr(rrhasattrrr)r*r.rrr5r5r5r6s     /8   =A2  *1 4 84