/opt/alt/python38/lib64/python3.8/__pycache__
NameSizeModeActions
abc.cpython-38.opt-1.pyc53490644editdlrm
abc.cpython-38.opt-2.pyc32270644editdlrm
abc.cpython-38.pyc53490644editdlrm
aifc.cpython-38.opt-1.pyc254890644editdlrm
aifc.cpython-38.opt-2.pyc202820644editdlrm
aifc.cpython-38.pyc254890644editdlrm
antigravity.cpython-38.opt-1.pyc8120644editdlrm
antigravity.cpython-38.opt-2.pyc6680644editdlrm
antigravity.cpython-38.pyc8120644editdlrm
argparse.cpython-38.opt-1.pyc621430644editdlrm
argparse.cpython-38.opt-2.pyc529020644editdlrm
argparse.cpython-38.pyc622920644editdlrm
ast.cpython-38.opt-1.pyc167430644editdlrm
ast.cpython-38.opt-2.pyc103480644editdlrm
ast.cpython-38.pyc167780644editdlrm
asynchat.cpython-38.opt-1.pyc68660644editdlrm
asynchat.cpython-38.opt-2.pyc54910644editdlrm
asynchat.cpython-38.pyc68660644editdlrm
asyncore.cpython-38.opt-1.pyc160430644editdlrm
asyncore.cpython-38.opt-2.pyc148390644editdlrm
asyncore.cpython-38.pyc160430644editdlrm
base64.cpython-38.opt-1.pyc169230644editdlrm
base64.cpython-38.opt-2.pyc113390644editdlrm
base64.cpython-38.pyc170860644editdlrm
bdb.cpython-38.opt-1.pyc249360644editdlrm
bdb.cpython-38.opt-2.pyc158980644editdlrm
bdb.cpython-38.pyc249360644editdlrm
binhex.cpython-38.opt-1.pyc121490644editdlrm
binhex.cpython-38.opt-2.pyc116160644editdlrm
binhex.cpython-38.pyc121490644editdlrm
bisect.cpython-38.opt-1.pyc23690644editdlrm
bisect.cpython-38.opt-2.pyc10570644editdlrm
bisect.cpython-38.pyc23690644editdlrm
bz2.cpython-38.opt-1.pyc114600644editdlrm
bz2.cpython-38.opt-2.pyc64020644editdlrm
bz2.cpython-38.pyc114600644editdlrm
calendar.cpython-38.opt-1.pyc270790644editdlrm
calendar.cpython-38.opt-2.pyc224870644editdlrm
calendar.cpython-38.pyc270790644editdlrm
cgi.cpython-38.opt-1.pyc265590644editdlrm
cgi.cpython-38.opt-2.pyc181330644editdlrm
cgi.cpython-38.pyc265590644editdlrm
cgitb.cpython-38.opt-1.pyc101650644editdlrm
cgitb.cpython-38.opt-2.pyc85660644editdlrm
cgitb.cpython-38.pyc101650644editdlrm
chunk.cpython-38.opt-1.pyc48540644editdlrm
chunk.cpython-38.opt-2.pyc27100644editdlrm
chunk.cpython-38.pyc48540644editdlrm
cmd.cpython-38.opt-1.pyc126410644editdlrm
cmd.cpython-38.opt-2.pyc72160644editdlrm
cmd.cpython-38.pyc126410644editdlrm
code.cpython-38.opt-1.pyc99280644editdlrm
code.cpython-38.opt-2.pyc46570644editdlrm
code.cpython-38.pyc99280644editdlrm
codecs.cpython-38.opt-1.pyc339710644editdlrm
codecs.cpython-38.opt-2.pyc184050644editdlrm
codecs.cpython-38.pyc339710644editdlrm
codeop.cpython-38.opt-1.pyc64320644editdlrm
codeop.cpython-38.opt-2.pyc23720644editdlrm
codeop.cpython-38.pyc64320644editdlrm
colorsys.cpython-38.opt-1.pyc32550644editdlrm
colorsys.cpython-38.opt-2.pyc26490644editdlrm
colorsys.cpython-38.pyc32550644editdlrm
compileall.cpython-38.opt-1.pyc94250644editdlrm
compileall.cpython-38.opt-2.pyc70500644editdlrm
compileall.cpython-38.pyc94250644editdlrm
configparser.cpython-38.opt-1.pyc457330644editdlrm
configparser.cpython-38.opt-2.pyc308070644editdlrm
configparser.cpython-38.pyc457330644editdlrm
contextlib.cpython-38.opt-1.pyc201910644editdlrm
contextlib.cpython-38.opt-2.pyc146110644editdlrm
contextlib.cpython-38.pyc202440644editdlrm
contextvars.cpython-38.opt-1.pyc2580644editdlrm
contextvars.cpython-38.opt-2.pyc2580644editdlrm
contextvars.cpython-38.pyc2580644editdlrm
copy.cpython-38.opt-1.pyc70020644editdlrm
copy.cpython-38.opt-2.pyc46880644editdlrm
copy.cpython-38.pyc70020644editdlrm
copyreg.cpython-38.opt-1.pyc42980644editdlrm
copyreg.cpython-38.opt-2.pyc34960644editdlrm
copyreg.cpython-38.pyc43330644editdlrm
cProfile.cpython-38.opt-1.pyc55160644editdlrm
cProfile.cpython-38.opt-2.pyc50550644editdlrm
cProfile.cpython-38.pyc55160644editdlrm
crypt.cpython-38.opt-1.pyc34020644editdlrm
crypt.cpython-38.opt-2.pyc27400644editdlrm
crypt.cpython-38.pyc34020644editdlrm
csv.cpython-38.opt-1.pyc119250644editdlrm
csv.cpython-38.opt-2.pyc98860644editdlrm
csv.cpython-38.pyc119250644editdlrm
dataclasses.cpython-38.opt-1.pyc236680644editdlrm
dataclasses.cpython-38.opt-2.pyc202280644editdlrm
dataclasses.cpython-38.pyc236680644editdlrm
datetime.cpython-38.opt-1.pyc559510644editdlrm
datetime.cpython-38.opt-2.pyc475110644editdlrm
datetime.cpython-38.pyc571880644editdlrm
decimal.cpython-38.opt-1.pyc3740644editdlrm
decimal.cpython-38.opt-2.pyc3740644editdlrm
decimal.cpython-38.pyc3740644editdlrm
difflib.cpython-38.opt-1.pyc594150644editdlrm
difflib.cpython-38.opt-2.pyc249360644editdlrm
difflib.cpython-38.pyc594530644editdlrm
dis.cpython-38.opt-1.pyc158230644editdlrm
dis.cpython-38.opt-2.pyc120160644editdlrm
dis.cpython-38.pyc158230644editdlrm
doctest.cpython-38.opt-1.pyc757460644editdlrm
doctest.cpython-38.opt-2.pyc404400644editdlrm
doctest.cpython-38.pyc759890644editdlrm
dummy_threading.cpython-38.opt-1.pyc11250644editdlrm
dummy_threading.cpython-38.opt-2.pyc7520644editdlrm
dummy_threading.cpython-38.pyc11250644editdlrm
enum.cpython-38.opt-1.pyc259770644editdlrm
enum.cpython-38.opt-2.pyc210550644editdlrm
enum.cpython-38.pyc259770644editdlrm
filecmp.cpython-38.opt-1.pyc84420644editdlrm
filecmp.cpython-38.opt-2.pyc60290644editdlrm
filecmp.cpython-38.pyc84420644editdlrm
fileinput.cpython-38.opt-1.pyc133880644editdlrm
fileinput.cpython-38.opt-2.pyc77800644editdlrm
fileinput.cpython-38.pyc133880644editdlrm
fnmatch.cpython-38.opt-1.pyc33700644editdlrm
fnmatch.cpython-38.opt-2.pyc21620644editdlrm
fnmatch.cpython-38.pyc33700644editdlrm
formatter.cpython-38.opt-1.pyc175600644editdlrm
formatter.cpython-38.opt-2.pyc151200644editdlrm
formatter.cpython-38.pyc175600644editdlrm
fractions.cpython-38.opt-1.pyc187540644editdlrm
fractions.cpython-38.opt-2.pyc113700644editdlrm
fractions.cpython-38.pyc187540644editdlrm
ftplib.cpython-38.opt-1.pyc280220644editdlrm
ftplib.cpython-38.opt-2.pyc182280644editdlrm
ftplib.cpython-38.pyc280220644editdlrm
functools.cpython-38.opt-1.pyc279160644editdlrm
functools.cpython-38.opt-2.pyc212630644editdlrm
functools.cpython-38.pyc279160644editdlrm
genericpath.cpython-38.opt-1.pyc40160644editdlrm
genericpath.cpython-38.opt-2.pyc28800644editdlrm
genericpath.cpython-38.pyc40160644editdlrm
getopt.cpython-38.opt-1.pyc62520644editdlrm
getopt.cpython-38.opt-2.pyc36980644editdlrm
getopt.cpython-38.pyc62860644editdlrm
getpass.cpython-38.opt-1.pyc41930644editdlrm
getpass.cpython-38.opt-2.pyc30080644editdlrm
getpass.cpython-38.pyc41930644editdlrm
gettext.cpython-38.opt-1.pyc178980644editdlrm
gettext.cpython-38.opt-2.pyc172070644editdlrm
gettext.cpython-38.pyc178980644editdlrm
glob.cpython-38.opt-1.pyc42930644editdlrm
glob.cpython-38.opt-2.pyc34330644editdlrm
glob.cpython-38.pyc43580644editdlrm
gzip.cpython-38.opt-1.pyc181990644editdlrm
gzip.cpython-38.opt-2.pyc143310644editdlrm
gzip.cpython-38.pyc181990644editdlrm
hashlib.cpython-38.opt-1.pyc67420644editdlrm
hashlib.cpython-38.opt-2.pyc61740644editdlrm
hashlib.cpython-38.pyc67420644editdlrm
heapq.cpython-38.opt-1.pyc140850644editdlrm
heapq.cpython-38.opt-2.pyc110690644editdlrm
heapq.cpython-38.pyc140850644editdlrm
hmac.cpython-38.opt-1.pyc64030644editdlrm
hmac.cpython-38.opt-2.pyc38860644editdlrm
hmac.cpython-38.pyc64030644editdlrm
imaplib.cpython-38.opt-1.pyc391740644editdlrm
imaplib.cpython-38.opt-2.pyc271970644editdlrm
imaplib.cpython-38.pyc413570644editdlrm
imghdr.cpython-38.opt-1.pyc41330644editdlrm
imghdr.cpython-38.opt-2.pyc38180644editdlrm
imghdr.cpython-38.pyc41330644editdlrm
imp.cpython-38.opt-1.pyc98240644editdlrm
imp.cpython-38.opt-2.pyc74590644editdlrm
imp.cpython-38.pyc98240644editdlrm
inspect.cpython-38.opt-1.pyc803230644editdlrm
inspect.cpython-38.opt-2.pyc552100644editdlrm
inspect.cpython-38.pyc806080644editdlrm
io.cpython-38.opt-1.pyc34690644editdlrm
io.cpython-38.opt-2.pyc19800644editdlrm
io.cpython-38.pyc34690644editdlrm
ipaddress.cpython-38.opt-1.pyc613510644editdlrm
ipaddress.cpython-38.opt-2.pyc367170644editdlrm
ipaddress.cpython-38.pyc613510644editdlrm
keyword.cpython-38.opt-1.pyc10130644editdlrm
keyword.cpython-38.opt-2.pyc5860644editdlrm
keyword.cpython-38.pyc10130644editdlrm
linecache.cpython-38.opt-1.pyc38820644editdlrm
linecache.cpython-38.opt-2.pyc27770644editdlrm
linecache.cpython-38.pyc38820644editdlrm
locale.cpython-38.opt-1.pyc347040644editdlrm
locale.cpython-38.opt-2.pyc300890644editdlrm
locale.cpython-38.pyc347040644editdlrm
lzma.cpython-38.opt-1.pyc120330644editdlrm
lzma.cpython-38.opt-2.pyc58640644editdlrm
lzma.cpython-38.pyc120330644editdlrm
mailbox.cpython-38.opt-1.pyc601990644editdlrm
mailbox.cpython-38.opt-2.pyc535970644editdlrm
mailbox.cpython-38.pyc602790644editdlrm
mailcap.cpython-38.opt-1.pyc72210644editdlrm
mailcap.cpython-38.opt-2.pyc56520644editdlrm
mailcap.cpython-38.pyc72210644editdlrm
mimetypes.cpython-38.opt-1.pyc160460644editdlrm
mimetypes.cpython-38.opt-2.pyc100310644editdlrm
mimetypes.cpython-38.pyc160460644editdlrm
modulefinder.cpython-38.opt-1.pyc160680644editdlrm
modulefinder.cpython-38.opt-2.pyc151590644editdlrm
modulefinder.cpython-38.pyc161300644editdlrm
netrc.cpython-38.opt-1.pyc37920644editdlrm
netrc.cpython-38.opt-2.pyc35540644editdlrm
netrc.cpython-38.pyc37920644editdlrm
nntplib.cpython-38.opt-1.pyc339890644editdlrm
nntplib.cpython-38.opt-2.pyc214790644editdlrm
nntplib.cpython-38.pyc339890644editdlrm
ntpath.cpython-38.opt-1.pyc146720644editdlrm
ntpath.cpython-38.opt-2.pyc126210644editdlrm
ntpath.cpython-38.pyc146720644editdlrm
nturl2path.cpython-38.opt-1.pyc17590644editdlrm
nturl2path.cpython-38.opt-2.pyc13400644editdlrm
nturl2path.cpython-38.pyc17590644editdlrm
numbers.cpython-38.opt-1.pyc122170644editdlrm
numbers.cpython-38.opt-2.pyc83540644editdlrm
numbers.cpython-38.pyc122170644editdlrm
opcode.cpython-38.opt-1.pyc54350644editdlrm
opcode.cpython-38.opt-2.pyc52950644editdlrm
opcode.cpython-38.pyc54350644editdlrm
operator.cpython-38.opt-1.pyc137060644editdlrm
operator.cpython-38.opt-2.pyc113370644editdlrm
operator.cpython-38.pyc137060644editdlrm
optparse.cpython-38.opt-1.pyc479890644editdlrm
optparse.cpython-38.opt-2.pyc356740644editdlrm
optparse.cpython-38.pyc480720644editdlrm
os.cpython-38.opt-1.pyc313800644editdlrm
os.cpython-38.opt-2.pyc191890644editdlrm
os.cpython-38.pyc314120644editdlrm
pathlib.cpython-38.opt-1.pyc442240644editdlrm
pathlib.cpython-38.opt-2.pyc355440644editdlrm
pathlib.cpython-38.pyc442240644editdlrm
pdb.cpython-38.opt-1.pyc471860644editdlrm
pdb.cpython-38.opt-2.pyc331150644editdlrm
pdb.cpython-38.pyc472410644editdlrm
pickle.cpython-38.opt-1.pyc468060644editdlrm
pickle.cpython-38.opt-2.pyc409340644editdlrm
pickle.cpython-38.pyc469230644editdlrm
pickletools.cpython-38.opt-1.pyc663290644editdlrm
pickletools.cpython-38.opt-2.pyc572360644editdlrm
pickletools.cpython-38.pyc672190644editdlrm
pipes.cpython-38.opt-1.pyc78100644editdlrm
pipes.cpython-38.opt-2.pyc49430644editdlrm
pipes.cpython-38.pyc78100644editdlrm
pkgutil.cpython-38.opt-1.pyc163510644editdlrm
pkgutil.cpython-38.opt-2.pyc110950644editdlrm
pkgutil.cpython-38.pyc163510644editdlrm
platform.cpython-38.opt-1.pyc243410644editdlrm
platform.cpython-38.opt-2.pyc164650644editdlrm
platform.cpython-38.pyc243410644editdlrm
plistlib.cpython-38.opt-1.pyc271130644editdlrm
plistlib.cpython-38.opt-2.pyc240640644editdlrm
plistlib.cpython-38.pyc271800644editdlrm
poplib.cpython-38.opt-1.pyc134740644editdlrm
poplib.cpython-38.opt-2.pyc85430644editdlrm
poplib.cpython-38.pyc134740644editdlrm
posixpath.cpython-38.opt-1.pyc104430644editdlrm
posixpath.cpython-38.opt-2.pyc87280644editdlrm
posixpath.cpython-38.pyc104430644editdlrm
pprint.cpython-38.opt-1.pyc162470644editdlrm
pprint.cpython-38.opt-2.pyc140920644editdlrm
pprint.cpython-38.pyc162960644editdlrm
profile.cpython-38.opt-1.pyc145810644editdlrm
profile.cpython-38.opt-2.pyc116030644editdlrm
profile.cpython-38.pyc147940644editdlrm
pstats.cpython-38.opt-1.pyc220810644editdlrm
pstats.cpython-38.opt-2.pyc195570644editdlrm
pstats.cpython-38.pyc220810644editdlrm
pty.cpython-38.opt-1.pyc39700644editdlrm
pty.cpython-38.opt-2.pyc31250644editdlrm
pty.cpython-38.pyc39700644editdlrm
pyclbr.cpython-38.opt-1.pyc104660644editdlrm
pyclbr.cpython-38.opt-2.pyc68650644editdlrm
pyclbr.cpython-38.pyc104660644editdlrm
pydoc.cpython-38.opt-1.pyc834470644editdlrm
pydoc.cpython-38.opt-2.pyc739020644editdlrm
pydoc.cpython-38.pyc835000644editdlrm
py_compile.cpython-38.opt-1.pyc73990644editdlrm
py_compile.cpython-38.opt-2.pyc36610644editdlrm
py_compile.cpython-38.pyc73990644editdlrm
queue.cpython-38.opt-1.pyc106410644editdlrm
queue.cpython-38.opt-2.pyc63040644editdlrm
queue.cpython-38.pyc106410644editdlrm
quopri.cpython-38.opt-1.pyc55880644editdlrm
quopri.cpython-38.opt-2.pyc45520644editdlrm
quopri.cpython-38.pyc57630644editdlrm
random.cpython-38.opt-1.pyc201230644editdlrm
random.cpython-38.opt-2.pyc131470644editdlrm
random.cpython-38.pyc201230644editdlrm
re.cpython-38.opt-1.pyc144370644editdlrm
re.cpython-38.opt-2.pyc60990644editdlrm
re.cpython-38.pyc144370644editdlrm
reprlib.cpython-38.opt-1.pyc53180644editdlrm
reprlib.cpython-38.opt-2.pyc51620644editdlrm
reprlib.cpython-38.pyc53180644editdlrm
rlcompleter.cpython-38.opt-1.pyc57700644editdlrm
rlcompleter.cpython-38.opt-2.pyc31070644editdlrm
rlcompleter.cpython-38.pyc57700644editdlrm
runpy.cpython-38.opt-1.pyc81960644editdlrm
runpy.cpython-38.opt-2.pyc66300644editdlrm
runpy.cpython-38.pyc81960644editdlrm
sched.cpython-38.opt-1.pyc65470644editdlrm
sched.cpython-38.opt-2.pyc35200644editdlrm
sched.cpython-38.pyc65470644editdlrm
secrets.cpython-38.opt-1.pyc22050644editdlrm
secrets.cpython-38.opt-2.pyc11470644editdlrm
secrets.cpython-38.pyc22050644editdlrm
selectors.cpython-38.opt-1.pyc169500644editdlrm
selectors.cpython-38.opt-2.pyc129150644editdlrm
selectors.cpython-38.pyc169500644editdlrm
shelve.cpython-38.opt-1.pyc95050644editdlrm
shelve.cpython-38.opt-2.pyc53540644editdlrm
shelve.cpython-38.pyc95050644editdlrm
shlex.cpython-38.opt-1.pyc75510644editdlrm
shlex.cpython-38.opt-2.pyc69940644editdlrm
shlex.cpython-38.pyc75510644editdlrm
shutil.cpython-38.opt-1.pyc374250644editdlrm
shutil.cpython-38.opt-2.pyc258870644editdlrm
shutil.cpython-38.pyc374250644editdlrm
signal.cpython-38.opt-1.pyc28580644editdlrm
signal.cpython-38.opt-2.pyc26340644editdlrm
signal.cpython-38.pyc28580644editdlrm
site.cpython-38.opt-1.pyc169920644editdlrm
site.cpython-38.opt-2.pyc114560644editdlrm
site.cpython-38.pyc169920644editdlrm
smtpd.cpython-38.opt-1.pyc264780644editdlrm
smtpd.cpython-38.opt-2.pyc238580644editdlrm
smtpd.cpython-38.pyc264780644editdlrm
smtplib.cpython-38.opt-1.pyc356250644editdlrm
smtplib.cpython-38.opt-2.pyc192630644editdlrm
smtplib.cpython-38.pyc356860644editdlrm
sndhdr.cpython-38.opt-1.pyc70040644editdlrm
sndhdr.cpython-38.opt-2.pyc57290644editdlrm
sndhdr.cpython-38.pyc70040644editdlrm
socket.cpython-38.opt-1.pyc275890644editdlrm
socket.cpython-38.opt-2.pyc196220644editdlrm
socket.cpython-38.pyc276290644editdlrm
socketserver.cpython-38.opt-1.pyc253760644editdlrm
socketserver.cpython-38.opt-2.pyc146600644editdlrm
socketserver.cpython-38.pyc253760644editdlrm
sre_compile.cpython-38.opt-1.pyc149310644editdlrm
sre_compile.cpython-38.opt-2.pyc145170644editdlrm
sre_compile.cpython-38.pyc151570644editdlrm
sre_constants.cpython-38.opt-1.pyc63740644editdlrm
sre_constants.cpython-38.opt-2.pyc59490644editdlrm
sre_constants.cpython-38.pyc63740644editdlrm
sre_parse.cpython-38.opt-1.pyc216150644editdlrm
sre_parse.cpython-38.opt-2.pyc215670644editdlrm
sre_parse.cpython-38.pyc216620644editdlrm
ssl.cpython-38.opt-1.pyc450680644editdlrm
ssl.cpython-38.opt-2.pyc340900644editdlrm
ssl.cpython-38.pyc450680644editdlrm
stat.cpython-38.opt-1.pyc43870644editdlrm
stat.cpython-38.opt-2.pyc36040644editdlrm
stat.cpython-38.pyc43870644editdlrm
statistics.cpython-38.opt-1.pyc332700644editdlrm
statistics.cpython-38.opt-2.pyc175830644editdlrm
statistics.cpython-38.pyc336680644editdlrm
string.cpython-38.opt-1.pyc73150644editdlrm
string.cpython-38.opt-2.pyc62090644editdlrm
string.cpython-38.pyc73150644editdlrm
stringprep.cpython-38.opt-1.pyc109740644editdlrm
stringprep.cpython-38.opt-2.pyc107540644editdlrm
stringprep.cpython-38.pyc110320644editdlrm
struct.cpython-38.opt-1.pyc3450644editdlrm
struct.cpython-38.opt-2.pyc3450644editdlrm
struct.cpython-38.pyc3450644editdlrm
subprocess.cpython-38.opt-1.pyc421250644editdlrm
subprocess.cpython-38.opt-2.pyc301950644editdlrm
subprocess.cpython-38.pyc422220644editdlrm
sunau.cpython-38.opt-1.pyc170950644editdlrm
sunau.cpython-38.opt-2.pyc125050644editdlrm
sunau.cpython-38.pyc170950644editdlrm
symbol.cpython-38.opt-1.pyc24190644editdlrm
symbol.cpython-38.opt-2.pyc23430644editdlrm
symbol.cpython-38.pyc24190644editdlrm
symtable.cpython-38.opt-1.pyc112430644editdlrm
symtable.cpython-38.opt-2.pyc104580644editdlrm
symtable.cpython-38.pyc113370644editdlrm
sysconfig.cpython-38.opt-1.pyc158590644editdlrm
sysconfig.cpython-38.opt-2.pyc134810644editdlrm
sysconfig.cpython-38.pyc158590644editdlrm
tabnanny.cpython-38.opt-1.pyc70450644editdlrm
tabnanny.cpython-38.opt-2.pyc61120644editdlrm
tabnanny.cpython-38.pyc70450644editdlrm
tarfile.cpython-38.opt-1.pyc700430644editdlrm
tarfile.cpython-38.opt-2.pyc554280644editdlrm
tarfile.cpython-38.pyc700740644editdlrm
telnetlib.cpython-38.opt-1.pyc182520644editdlrm
telnetlib.cpython-38.opt-2.pyc107500644editdlrm
telnetlib.cpython-38.pyc182520644editdlrm
tempfile.cpython-38.opt-1.pyc236490644editdlrm
tempfile.cpython-38.opt-2.pyc171230644editdlrm
tempfile.cpython-38.pyc236490644editdlrm
textwrap.cpython-38.opt-1.pyc134600644editdlrm
textwrap.cpython-38.opt-2.pyc62510644editdlrm
textwrap.cpython-38.pyc135340644editdlrm
this.cpython-38.opt-1.pyc12760644editdlrm
this.cpython-38.opt-2.pyc12760644editdlrm
this.cpython-38.pyc12760644editdlrm
threading.cpython-38.opt-1.pyc394400644editdlrm
threading.cpython-38.opt-2.pyc228630644editdlrm
threading.cpython-38.pyc399910644editdlrm
timeit.cpython-38.opt-1.pyc117920644editdlrm
timeit.cpython-38.opt-2.pyc59380644editdlrm
timeit.cpython-38.pyc117920644editdlrm
token.cpython-38.opt-1.pyc25000644editdlrm
token.cpython-38.opt-2.pyc24670644editdlrm
token.cpython-38.pyc25000644editdlrm
tokenize.cpython-38.opt-1.pyc171310644editdlrm
tokenize.cpython-38.opt-2.pyc133670644editdlrm
tokenize.cpython-38.pyc171750644editdlrm
trace.cpython-38.opt-1.pyc200610644editdlrm
trace.cpython-38.opt-2.pyc170470644editdlrm
trace.cpython-38.pyc200610644editdlrm
traceback.cpython-38.opt-1.pyc199530644editdlrm
traceback.cpython-38.opt-2.pyc110500644editdlrm
traceback.cpython-38.pyc199530644editdlrm
tracemalloc.cpython-38.opt-1.pyc173780644editdlrm
tracemalloc.cpython-38.opt-2.pyc159650644editdlrm
tracemalloc.cpython-38.pyc173780644editdlrm
tty.cpython-38.opt-1.pyc10910644editdlrm
tty.cpython-38.opt-2.pyc9820644editdlrm
tty.cpython-38.pyc10910644editdlrm
types.cpython-38.opt-1.pyc91920644editdlrm
types.cpython-38.opt-2.pyc79700644editdlrm
types.cpython-38.pyc91920644editdlrm
typing.cpython-38.opt-1.pyc623860644editdlrm
typing.cpython-38.opt-2.pyc456380644editdlrm
typing.cpython-38.pyc624350644editdlrm
uu.cpython-38.opt-1.pyc38010644editdlrm
uu.cpython-38.opt-2.pyc35570644editdlrm
uu.cpython-38.pyc38010644editdlrm
uuid.cpython-38.opt-1.pyc235640644editdlrm
uuid.cpython-38.opt-2.pyc164080644editdlrm
uuid.cpython-38.pyc236980644editdlrm
warnings.cpython-38.opt-1.pyc132070644editdlrm
warnings.cpython-38.opt-2.pyc109320644editdlrm
warnings.cpython-38.pyc136670644editdlrm
wave.cpython-38.opt-1.pyc181140644editdlrm
wave.cpython-38.opt-2.pyc121220644editdlrm
wave.cpython-38.pyc181640644editdlrm
weakref.cpython-38.opt-1.pyc195030644editdlrm
weakref.cpython-38.opt-2.pyc162190644editdlrm
weakref.cpython-38.pyc195330644editdlrm
webbrowser.cpython-38.opt-1.pyc171020644editdlrm
webbrowser.cpython-38.opt-2.pyc146920644editdlrm
webbrowser.cpython-38.pyc171350644editdlrm
xdrlib.cpython-38.opt-1.pyc82360644editdlrm
xdrlib.cpython-38.opt-2.pyc77510644editdlrm
xdrlib.cpython-38.pyc82360644editdlrm
zipapp.cpython-38.opt-1.pyc58690644editdlrm
zipapp.cpython-38.opt-2.pyc46930644editdlrm
zipapp.cpython-38.pyc58690644editdlrm
zipfile.cpython-38.opt-1.pyc589970644editdlrm
zipfile.cpython-38.opt-2.pyc501780644editdlrm
zipfile.cpython-38.pyc590340644editdlrm
zipimport.cpython-38.opt-1.pyc171860644editdlrm
zipimport.cpython-38.opt-2.pyc136680644editdlrm
zipimport.cpython-38.pyc172900644editdlrm
_bootlocale.cpython-38.opt-1.pyc12320644editdlrm
_bootlocale.cpython-38.opt-2.pyc10070644editdlrm
_bootlocale.cpython-38.pyc12580644editdlrm
_collections_abc.cpython-38.opt-1.pyc287560644editdlrm
_collections_abc.cpython-38.opt-2.pyc236970644editdlrm
_collections_abc.cpython-38.pyc287560644editdlrm
_compat_pickle.cpython-38.opt-1.pyc54580644editdlrm
_compat_pickle.cpython-38.opt-2.pyc54580644editdlrm
_compat_pickle.cpython-38.pyc55160644editdlrm
_compression.cpython-38.opt-1.pyc41610644editdlrm
_compression.cpython-38.opt-2.pyc39470644editdlrm
_compression.cpython-38.pyc41610644editdlrm
_dummy_thread.cpython-38.opt-1.pyc60520644editdlrm
_dummy_thread.cpython-38.opt-2.pyc34070644editdlrm
_dummy_thread.cpython-38.pyc60520644editdlrm
_markupbase.cpython-38.opt-1.pyc76330644editdlrm
_markupbase.cpython-38.opt-2.pyc72550644editdlrm
_markupbase.cpython-38.pyc78050644editdlrm
_osx_support.cpython-38.opt-1.pyc116080644editdlrm
_osx_support.cpython-38.opt-2.pyc89170644editdlrm
_osx_support.cpython-38.pyc116080644editdlrm
_pydecimal.cpython-38.opt-1.pyc1607500644editdlrm
_pydecimal.cpython-38.opt-2.pyc791330644editdlrm
_pydecimal.cpython-38.pyc1607500644editdlrm
_pyio.cpython-38.opt-1.pyc740740644editdlrm
_pyio.cpython-38.opt-2.pyc511810644editdlrm
_pyio.cpython-38.pyc740940644editdlrm
_py_abc.cpython-38.opt-1.pyc46470644editdlrm
_py_abc.cpython-38.opt-2.pyc34340644editdlrm
_py_abc.cpython-38.pyc46850644editdlrm
_sitebuiltins.cpython-38.opt-1.pyc34960644editdlrm
_sitebuiltins.cpython-38.opt-2.pyc29720644editdlrm
_sitebuiltins.cpython-38.pyc34960644editdlrm
_strptime.cpython-38.opt-1.pyc160590644editdlrm
_strptime.cpython-38.opt-2.pyc123310644editdlrm
_strptime.cpython-38.pyc160590644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-38.opt-1.pyc296270644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-38.opt-2.pyc296270644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-38.pyc296270644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.opt-1.pyc297650644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.opt-2.pyc297650644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-38.pyc297650644editdlrm
_threading_local.cpython-38.opt-1.pyc64610644editdlrm
_threading_local.cpython-38.opt-2.pyc31410644editdlrm
_threading_local.cpython-38.pyc64610644editdlrm
_weakrefset.cpython-38.opt-1.pyc76150644editdlrm
_weakrefset.cpython-38.opt-2.pyc76150644editdlrm
_weakrefset.cpython-38.pyc76150644editdlrm
__future__.cpython-38.opt-1.pyc41730644editdlrm
__future__.cpython-38.opt-2.pyc22010644editdlrm
__future__.cpython-38.pyc41730644editdlrm
__phello__.foo.cpython-38.opt-1.pyc1420644editdlrm
__phello__.foo.cpython-38.opt-2.pyc1420644editdlrm
__phello__.foo.cpython-38.pyc1420644editdlrm
Edit: /opt/alt/python38/lib64/python3.8/__pycache__/inspect.cpython-38.pyc (80608B)
U if @sdZdZddlZddlZddlZddlZddlZddl Z ddl Z ddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlmZddlmZmZeZejD]\ZZeede<qdZdd Zd d Z d d Z!ddZ"ddZ#e$edr ddZ%nddZ%e$edr*ddZ&nddZ&ddZ'ddZ(ddZ)d d!Z*d"d#Z+d$d%Z,d&d'Z-d(d)Z.d*d+Z/d,d-Z0d.d/Z1d0d1Z2d2d3Z3d4d5Z4d6d7Z5dd8d9Z6ed:d;Z7dd?Z9dd@dAdBZ:dCdDZ;dEdFZdKdLZ?dMdNZ@dOdPZAdQdRZBddSdTZCiZDiZEddUdVZFdWdXZGdYdZZHGd[d\d\eIZJGd]d^d^ZKd_d`ZLdadbZMdcddZNdedfZOddhdiZPedjdkZQdldmZRedndoZSdpdqZTedrdsZUdtduZVedvdwZWdxdyZXddzd{ZYd|d}ZZdddd~iie[ddddddddeYf ddZ\e[ddddddfddZ]ddZ^ddZ_ddZ`eddZaddZbeddZcdddZdddZeeddecjfZgdddZhdddZiddZjdddZkdddZlemZnddZoddZpddZqddZrddZsenfddZtdZudZvdZwdZxddZyddZzdZ{dZ|dZ}dZ~ddZddÄZeejZeejZeejdZeeeejfZddƄZdddȄZddʄZdd̄Zdd΄ZddЄZdd҄ZdddՄZdddׄZdddلZdddڜdd܄ZGddބdރZGdddZGdddejZejZejZejZejZejZededededediZGdddZGdddZGdddZddddZddZedkredS(aGet useful information from live Python objects. This module encapsulates the interface provided by the internal special attributes (co_*, im_*, tb_*, etc.) in a friendlier fashion. It also provides some help for examining source code and class layout. Here are some of the useful functions provided by this module: ismodule(), isclass(), ismethod(), isfunction(), isgeneratorfunction(), isgenerator(), istraceback(), isframe(), iscode(), isbuiltin(), isroutine() - check object types getmembers() - get members of an object that satisfy a given condition getfile(), getsourcefile(), getsource() - find an object's source code getdoc(), getcomments() - get documentation on an object getmodule() - determine the module that an object came from getclasstree() - arrange classes so as to represent their hierarchy getargvalues(), getcallargs() - get info about function arguments getfullargspec() - same, with support for Python 3 features formatargvalues() - format an argument spec getouterframes(), getinnerframes() - get info about frames currentframe() - get the current stack frame stack(), trace() - get info about frames on the stack or in a traceback signature() - get a Signature object for the callable )zKa-Ping Yee z'Yury Selivanov N) attrgetter) namedtuple OrderedDictZCO_icCs t|tjS)zReturn true if the object is a module. Module objects provide these attributes: __cached__ pathname to byte compiled file __doc__ documentation string __file__ filename (missing for built-in modules)) isinstancetypes ModuleTypeobjectr ,/opt/alt/python38/lib64/python3.8/inspect.pyismodule?sr cCs t|tS)zReturn true if the object is a class. Class objects provide these attributes: __doc__ documentation string __module__ name of module in which this class was defined)rtyperr r r isclassHsrcCs t|tjS)a_Return true if the object is an instance method. Instance method objects provide these attributes: __doc__ documentation string __name__ name with which this method was defined __func__ function object containing implementation of method __self__ instance to which this method is bound)rr MethodTyperr r r ismethodPsrcCs:t|st|st|rdSt|}t|do8t|d S)aReturn true if the object is a method descriptor. But not if ismethod() or isclass() or isfunction() are true. This is new in Python 2.2, and, for example, is true of int.__add__. An object passing this test has a __get__ attribute but not a __set__ attribute, but beyond that the set of attributes varies. __name__ is usually sensible, and __doc__ often is. Methods implemented via descriptors that also pass one of the other tests return false from the ismethoddescriptor() test, simply because the other tests promise more -- you can, e.g., count on having the __func__ attribute (etc) when an object passes ismethod().F__get____set__rr isfunctionr hasattrr tpr r r ismethoddescriptorZsrcCs8t|st|st|rdSt|}t|dp6t|dS)a}Return true if the object is a data descriptor. Data descriptors have a __set__ or a __delete__ attribute. Examples are properties (defined in Python) and getsets and members (defined in C). Typically, data descriptors will also have __name__ and __doc__ attributes (properties, getsets, and members have both of these attributes), but this is not guaranteed.Fr __delete__rrr r r isdatadescriptornsrMemberDescriptorTypecCs t|tjS)Return true if the object is a member descriptor. Member descriptors are specialized descriptors defined in extension modules.)rrrrr r r ismemberdescriptor~srcCsdS)rFr rr r r rsGetSetDescriptorTypecCs t|tjS)Return true if the object is a getset descriptor. getset descriptors are specialized descriptors defined in extension modules.)rrrrr r r isgetsetdescriptorsr cCsdS)rFr rr r r r scCs t|tjS)a(Return true if the object is a user-defined function. Function objects provide these attributes: __doc__ documentation string __name__ name with which this function was defined __code__ code object containing compiled function bytecode __defaults__ tuple of any default values for arguments __globals__ global namespace in which this function was defined __annotations__ dict of parameter annotations __kwdefaults__ dict of keyword only parameters with defaults)rr FunctionTyperr r r rs rcCs6t|r|j}qt|}t|s&dSt|jj|@S)zReturn true if ``f`` is a function (or a method or functools.partial wrapper wrapping a function) whose code object has the given ``flag`` set in its flags.F)r__func__ functools_unwrap_partialrbool__code__co_flags)fflagr r r _has_code_flags  r*cCs t|tS)zReturn true if the object is a user-defined generator function. Generator function objects provide the same attributes as functions. See help(isfunction) for a list of attributes.)r*Z CO_GENERATORobjr r r isgeneratorfunctionsr-cCs t|tS)zuReturn true if the object is a coroutine function. Coroutine functions are defined with "async def" syntax. )r*Z CO_COROUTINEr+r r r iscoroutinefunctionsr.cCs t|tS)zReturn true if the object is an asynchronous generator function. Asynchronous generator functions are defined with "async def" syntax and have "yield" expressions in their body. )r*ZCO_ASYNC_GENERATORr+r r r isasyncgenfunctionsr/cCs t|tjS)z7Return true if the object is an asynchronous generator.)rrAsyncGeneratorTyperr r r isasyncgensr1cCs t|tjS)aReturn true if the object is a generator. Generator objects provide these attributes: __iter__ defined to support iteration over container close raises a new GeneratorExit exception inside the generator to terminate the iteration gi_code code object gi_frame frame object or possibly None once the generator has been exhausted gi_running set to 1 when generator is executing, 0 otherwise next return the next item from the container send resumes the generator and "sends" a value that becomes the result of the current yield-expression throw used to raise an exception inside the generator)rr GeneratorTyperr r r isgeneratorsr3cCs t|tjS)z)Return true if the object is a coroutine.)rr CoroutineTyperr r r iscoroutinesr5cCs6t|tjp4t|tjr(t|jjt@p4t|tj j S)z?Return true if object can be passed to an ``await`` expression.) rrr4r2r%gi_coder'ZCO_ITERABLE_COROUTINE collectionsabc Awaitablerr r r isawaitables    r:cCs t|tjS)abReturn true if the object is a traceback. Traceback objects provide these attributes: tb_frame frame object at this level tb_lasti index of last attempted instruction in bytecode tb_lineno current line number in Python source code tb_next next inner traceback object (called by this level))rr TracebackTyperr r r istracebacksr<cCs t|tjS)a`Return true if the object is a frame object. Frame objects provide these attributes: f_back next outer frame object (this frame's caller) f_builtins built-in namespace seen by this frame f_code code object being executed in this frame f_globals global namespace seen by this frame f_lasti index of last attempted instruction in bytecode f_lineno current line number in Python source code f_locals local namespace seen by this frame f_trace tracing function for this frame, or None)rr FrameTyperr r r isframes r>cCs t|tjS)aReturn true if the object is a code object. Code objects provide these attributes: co_argcount number of arguments (not including *, ** args or keyword only arguments) co_code string of raw compiled bytecode co_cellvars tuple of names of cell variables co_consts tuple of constants used in the bytecode co_filename name of file in which this code object was created co_firstlineno number of first line in Python source code co_flags bitmap: 1=optimized | 2=newlocals | 4=*arg | 8=**arg | 16=nested | 32=generator | 64=nofree | 128=coroutine | 256=iterable_coroutine | 512=async_generator co_freevars tuple of names of free variables co_posonlyargcount number of positional only arguments co_kwonlyargcount number of keyword only arguments (not including ** arg) co_lnotab encoded mapping of line numbers to bytecode indices co_name name with which this code object was defined co_names tuple of names of local variables co_nlocals number of local variables co_stacksize virtual machine stack space required co_varnames tuple of names of arguments and local variables)rrCodeTyperr r r iscodesr@cCs t|tjS)a,Return true if the object is a built-in function or method. Built-in functions and methods provide these attributes: __doc__ documentation string __name__ original name of this function or method __self__ instance to which a method is bound, or None)rrBuiltinFunctionTyperr r r isbuiltinsrBcCs t|pt|pt|pt|S)zdS|j D]\}}t |ddrHdSqH|j D]6}t |ddD]$}t ||d}t |ddrzdSqzqjdS)z:Return true if the object is an abstract base class (ABC).FT__abstractmethods____isabstractmethod__r N) rr __flags__TPFLAGS_IS_ABSTRACT issubclassr8ABCMetar__dict__itemsgetattr __bases__)r namevaluebaser r r isabstract-s"        rQc Cst|r|ft|}nd}g}t}t|}z:|jD].}|jD]\}}t|tj rD| |qDq6Wnt k r|YnX|D]~} zt || } | |krt Wn:t k r|D]}| |jkr|j| } qqYqYnX|r|| r| | | f| | q|jddd|S)zReturn all members of an object as (name, value) pairs sorted by name. Optionally, only return members that satisfy a given predicate.r cSs|dS)Nrr )Zpairr r r nzgetmembers..key)rgetmrosetdirrMrJrKrrDynamicClassAttributeappendAttributeErrorrLaddsort) r Z predicatemroresults processednamesrPkvrUrOr r r getmembersEs:        rd Attributezname kind defining_class objectc CsTt|}tt|}tdd|D}|f|}||}t|}|D].}|jD]\}}t|tjrR| |qRqDg} t } |D]} d} d} d}| | krzz| dkrt dt || } Wn"t k r}zW5d}~XYnXt | d| } | |krzd} d}|D] }t || d}|| kr|}q|D]B}z| || }Wntk rXYq(YnX|| kr(|}q(|dk rz|} |D]0}| |jkr~|j| }| |kr|} qq~| dkrq| dk r| n|}t|ttjfrd}|}nFt|ttjfrd}|}n*t|trd }|}nt|r,d }nd }| t| || || | q| S) aNReturn list of attribute-descriptor tuples. For each name in dir(cls), the return list contains a 4-tuple with these elements: 0. The name (a string). 1. The kind of attribute this is, one of these strings: 'class method' created via classmethod() 'static method' created via staticmethod() 'property' created via property() 'method' any other flavor of method or descriptor 'data' not a method 2. The class which defined this attribute (a class). 3. The object as obtained by calling getattr; if this fails, or if the resulting object does not live anywhere in the class' mro (including metaclasses) then the object is looked up in the defining class's dict (found by walking the mro). If one of the items in dir(cls) is stored in the metaclass it will now be discovered and not have None be listed as the class in which it was defined. Any items whose home class cannot be discovered are skipped. css|]}|ttfkr|VqdSN)r r ).0clsr r r s z'classify_class_attrs..NrJz)__dict__ is special, don't want the proxy __objclass__z static methodz class methodpropertymethoddata)rVr tuplerXrJrKrrrYrZrW ExceptionrL __getattr__r[ staticmethodBuiltinMethodType classmethodClassMethodDescriptorTyperkrCrer\)rhr^ZmetamroZ class_basesZ all_basesrarPrbrcresultr`rNZhomeclsZget_objZdict_objexcZlast_clsZsrch_clsZsrch_objr,kindr r r classify_class_attrsss                    rxcCs|jS)zHReturn tuple of base classes (including cls) in method resolution order.)__mro__)rhr r r rVsrVstopcs|dkrdd}n fdd}|}t||i}t}||rx|j}t|}||ks`t||krntd||||<q6|S)anGet the object wrapped by *func*. Follows the chain of :attr:`__wrapped__` attributes returning the last object in the chain. *stop* is an optional callback accepting an object in the wrapper chain as its sole argument that allows the unwrapping to be terminated early if the callback returns a true value. If the callback never returns a true value, the last object in the chain is returned as usual. For example, :func:`signature` uses this to stop unwrapping if any object in the chain has a ``__signature__`` attribute defined. :exc:`ValueError` is raised if a cycle is encountered. NcSs t|dSN __wrapped__rr(r r r _is_wrapperszunwrap.._is_wrappercst|do| Sr|r~rrzr r rsz!wrapper loop when unwrapping {!r})idsysgetrecursionlimitr}len ValueErrorformat)funcr{rr(ZmemoZrecursion_limitZid_funcr rzr unwraps    rcCs|}t|t|S)zBReturn the indent size, in spaces, at the start of a line of text.) expandtabsrlstrip)lineZexpliner r r indentsizesrcCsNtj|j}|dkrdS|jdddD]}t||}q.t|sJdS|S)N.)rmodulesget __module__ __qualname__splitrLr)rrhrNr r r _findclasss rc Cst|rT|jD]@}|tk rz |j}Wntk r<YqYnX|dk r|SqdSt|r|jj}|j}t|rt t ||dd|jkr|}n|j }n$t |r|j}t |}|dkst |||k rdSnt |r|j}|j}t|r|jd||jkr|}n|j }nt|trP|j}|j}t |}|dksJt |||k rdSnnt|sdt|r|j}|j}t |||k rdSt|rt |dd}t|tr||kr||SndS|jD]F}zt ||j}Wntk rYqYnX|dk r|SqdS)Nr"r __slots__)rryr __doc__r[rr"__name____self__rL __class__rrrBrrrkfgetrrrjrdict)r,rPdocrNselfrhrslotsr r r _finddoc sn               rc Cshz |j}Wntk r YdSX|dkrRz t|}Wnttfk rPYdSXt|ts`dSt|S)zGet the documentation string for an object. All tabs are expanded to spaces. To clean up docstrings that are indented to line up with blocks of code, any whitespace than can be uniformly removed from the second line onwards is removed.N)rr[r TypeErrorrstrcleandoc)r rr r r getdoc^s   rcCsz|d}Wntk r(YdSXtj}|ddD]*}t|}|rf_coder@ co_filenamer r)r moduler r r getfiles.   rcCsTtj|}ddtjD}||D]"\}}||r,|d|Sq,dS)z1Return the module name for a given file, or None.cSsg|]}t| |fqSr )r)rgsuffixr r r sz!getmodulename..N)ospathbasename importlib machinery all_suffixesr]endswith)rZfnamesuffixesZneglenrr r r getmodulenames   rcst|tjjdd}|tjjdd7}tfdd|Dr`tjdtjj dntfddtjj Dr~dStj rSt t |dddk rStjkrSdS)zReturn the filename that can be used to locate an object's source. Return None if no way can be identified to get the source. Nc3s|]}|VqdSrfrrgsfilenamer r risz getsourcefile..rc3s|]}|VqdSrfrrrr r ris __loader__)rrrDEBUG_BYTECODE_SUFFIXESOPTIMIZED_BYTECODE_SUFFIXESanyrrsplitextSOURCE_SUFFIXESEXTENSION_SUFFIXESexistsrL getmodule linecachecache)r Zall_bytecode_suffixesr rr getsourcefiles"    rcCs,|dkrt|pt|}tjtj|S)zReturn an absolute path to the source or compiled file for an object. The idea is for each object to have a unique origin, so this routine normalizes the result as much as possible.N)rrrrnormcaseabspath)r _filenamer r r getabsfilesrc Cst|r |St|dr$tj|jS|dk rD|tkrDtjt|Szt||}Wntk rhYdSX|tkrtjt|Stj D]\\}}t|rt|dr|j }|t |dkrq|t |<t|}|j t|<ttj|<q|tkrtjt|Stjd}t|ds"dSt||j rJt||j }||krJ|Stjd}t||j r|t||j } | |kr||SdS)zAReturn the module an object was defined in, or None if not found.rNr__main__rbuiltins)r rrrrr modulesbyfilerrcopyrKr_filesbymodnamerrrrealpathrL) r rfilemodnamerr(mainZ mainobjectZbuiltinZ builtinobjectr r r rsJ           rc Cst|}|rt|n$t|}|dr4|dszsource code not availablezcould not get source coderz^(\s*)class\s*z\bcrzcould not find class definitionco_firstlinenoz"could not find function definitionz>^(\s*def\s)|(\s*async\s+def\s)|(.*(?rr@rr IndexError) r rrrrNZpatZ candidatesrrlnumrr r r findsourcesf                 rc Cs.zt|\}}Wnttfk r*YdSXt|rd}|rT|ddddkrTd}|t|krz||dkrz|d}qT|t|kr||dddkrg}|}|t|kr||dddkr||||d}qd|Sn>|dkr*t ||}|d}|dkr*|| dddkr*t |||kr*|| g}|dkr|d}|| }|dddkrt |||kr|g|dd<|d}|dkrq|| }qt|r|ddkrg|dd<q|r |d dkr g|d d<qd|SdS) zwGet lines of comments immediately preceding an object's source code. Returns None when source can't be found. Nrz#!r)#rrr) rrrr rstriprZrrrr)r rrstartZcommentsendrZcommentr r r getcommentsRsL      $ $ rc@s eZdZdS) EndOfBlockN)rrrr r r r rsrc@s eZdZdZddZddZdS) BlockFinderz@Provide a tokeneater() method to detect the end of a code block.cCs4d|_d|_d|_d|_d|_d|_d|_d|_dS)NrFr)rislambdastartedpassline indecoratordecoratorhasargslast body_col0rr r r __init__szBlockFinder.__init__cCsr|jsB|jsB|dkrd|_n|dkr8|dkr2d|_d|_d|_n,|dkrZ|jrVd|_n|dkrv|jrtd|_d|_n|tjkrd|_|d|_|jrt|jr|jsd|_n|jrn|tj kr|j dkr|jr|d |_ |j d |_ d|_n|tj kr|j d |_ |j dkrntnV|tj krL|j dk rn|d |j krn|d|_n"|j dkrn|tj tjfkrntdS) N@T)defclasslambdar()Frr)rrrrrtokenizeNEWLINErrINDENTrrDEDENTCOMMENTNL)rr tokenZsrowcolZerowcolrr r r tokeneatersL              zBlockFinder.tokeneaterN)rrrrrr r r r r rs rc CsVt}z(tt|j}|D]}|j|qWnttfk rFYnX|d|jS)z@Extract the block of code at the top of the given list of lines.N) rrgenerate_tokensiter__next__r rIndentationErrorr)rZ blockfindertokensZ_tokenr r r getblocksrcCsbt|}t|\}}t|r"|j}t|s>t|rF|jjdkrF|dfSt||d|dfSdS)aReturn a list of source lines and starting line number for an object. The argument may be a module, class, method, function, traceback, frame, or code object. The source code is returned as a list of the lines corresponding to the object and the line number indicates where in the original source file the first line of code was found. An OSError is raised if the source code cannot be retrieved.zrNr) rrr<rr r>rco_namerr rrr r r getsourceliness  rcCst|\}}d|S)aReturn the text of the source code for an object. The argument may be a module, class, method, function, traceback, frame, or code object. The source code is returned as a single string. An OSError is raised if the source code cannot be retrieved.r)rrrr r r getsources rcCsRg}|jtddd|D]2}|||jf||kr|t||||q|S)z-Recursive helper function for getclasstree().rrrT)r]rrZrMwalktree)classeschildrenparentr_rr r r rsrFcCsi}g}|D]d}|jr^|jD]>}||kr0g||<|||krJ||||r||krqpqq ||kr ||q |D]}||krv||qvt||dS)aArrange the given list of classes into a hierarchy of nested lists. Where a nested list appears, it contains classes derived from the class whose entry immediately precedes the list. Each entry is a 2-tuple containing a class and a tuple of its base classes. If the 'unique' argument is true, exactly one entry appears in the returned structure for each class in the given list. Otherwise, classes using multiple inheritance and their descendants will appear multiple times.N)rMrZr)runiquerrootsrrr r r getclasstrees"      r Argumentszargs, varargs, varkwc Cst|std||j}|j}|j}t|d|}t||||}d}||7}d}|jt@rx|j|}|d}d}|jt @r|j|}t ||||S)aGet information about the arguments accepted by a code object. Three things are returned: (args, varargs, varkw), where 'args' is the list of argument names. Keyword-only arguments are appended. 'varargs' and 'varkw' are the names of the * and ** arguments or None.z{!r} is not a code objectNrr) r@rr co_varnames co_argcountco_kwonlyargcountlistr' CO_VARARGSCO_VARKEYWORDSr) coranargsZnkwargsargs kwonlyargsstepvarargsvarkwr r r getargss"    r,ArgSpeczargs varargs keywords defaultscCsDtjdtddt|\}}}}}}}|s.|r6tdt||||S)aeGet the names and default values of a function's parameters. A tuple of four things is returned: (args, varargs, keywords, defaults). 'args' is a list of the argument names, including keyword-only argument names. 'varargs' and 'keywords' are the names of the * and ** parameters or None. 'defaults' is an n-tuple of the default values of the last n parameters. This function is deprecated, as it does not support annotations or keyword-only parameters and will raise ValueError if either is present on the supplied callable. For a more structured introspection API, use inspect.signature() instead. Alternatively, use getfullargspec() for an API with a similar namedtuple based interface, but full support for annotations and keyword-only parameters. Deprecated since Python 3.5, use `inspect.getfullargspec()`. zhinspect.getargspec() is deprecated since Python 3.0, use inspect.signature() or inspect.getfullargspec()r stacklevelzgFunction has keyword-only parameters or annotations, use inspect.signature() API which can support them)warningswarnDeprecationWarninggetfullargspecrr-)rr'r*r+defaultsr(kwonlydefaultsannr r r getargspec-sr7 FullArgSpeczGargs, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotationsc Cs|zt|ddtd}Wn,tk r@}ztd|W5d}~XYnXg}d}d}g}g}d}i} d}i} |j|jk r||j| d<|jD]} | j} | j } | t kr| | | j | jk r|| j f7}nv| t kr| | | j | jk r|| j f7}nJ| tkr| }n<| tkr*| | | j | jk r8| j | | <n| tkr8| }| j| jk r| j| | <q| sZd} |sdd}t||||||| | S)a$Get the names and default values of a callable object's parameters. A tuple of seven things is returned: (args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations). 'args' is a list of the parameter names. 'varargs' and 'varkw' are the names of the * and ** parameters or None. 'defaults' is an n-tuple of the default values of the last n parameters. 'kwonlyargs' is a list of keyword-only parameter names. 'kwonlydefaults' is a dictionary mapping names from kwonlyargs to defaults. 'annotations' is a dictionary mapping parameter names to annotations. Notable differences from inspect.signature(): - the "self" parameter is always reported, even for bound methods - wrapper chains defined by __wrapped__ *not* unwrapped automatically Ffollow_wrapper_chainsskip_bound_argsigclszunsupported callableNr return)_signature_from_callable Signaturerorreturn_annotationempty parametersvaluesrwrN_POSITIONAL_ONLYrZdefault_POSITIONAL_OR_KEYWORD_VAR_POSITIONAL _KEYWORD_ONLY _VAR_KEYWORD annotationr8)rsigexr'r*r+Z posonlyargsr(r4 annotations kwdefaultsparamrwrNr r r r3Nsb             r3ArgInfozargs varargs keywords localscCs t|j\}}}t||||jS)a9Get information about arguments passed into a particular frame. A tuple of four things is returned: (args, varargs, varkw, locals). 'args' is a list of the argument names. 'varargs' and 'varkw' are the names of the * and ** arguments or None. 'locals' is the locals dictionary of the given frame.)r,rrPf_locals)framer'r*r+r r r getargvaluessrScCsVt|dddkr t|ddSt|trN|jd|fkr>|jS|jd|jSt|S)Nrtypingztyping.rrr)rLreprreplacerr rr)rJZ base_moduler r r formatannotations rWcst|ddfdd}|S)Nrcs t|Srf)rW)rJrr r _formatannotationsz5formatannotationrelativeto.._formatannotation)rL)r rYr rXr formatannotationrelativetos  rZr cCsd|SN*r rNr r r rRrSrRcCsd|SN**r r]r r r rRrScCs dt|SN=rUrOr r r rRrScCsd|S)Nz -> r )textr r r rRrSc s<ddlm} | dtddfdd}g}|rBt|t|}t|D]:\}}||}|rz||krz|| |||}||qJ|dk r||||n|r|d |r|D]2}||}|r||kr|| ||7}||q|dk r|| ||d d |d }d kr8|| d 7}|S)aFormat an argument spec from the values returned by getfullargspec. The first seven arguments are (args, varargs, varkw, defaults, kwonlyargs, kwonlydefaults, annotations). The other five arguments are the corresponding optional formatting functions that are called to turn names and values into strings. The last argument is an optional function to format the sequence of arguments. Deprecated since Python 3.5: use the `signature` function and `Signature` objects. r)r1zc`formatargspec` is deprecated since Python 3.5. Use `signature` and the `Signature` object directlyrr.cs(|}|kr$|d|7}|S)Nz: r )argrurMrW formatargr r formatargandannotationsz-formatargspec..formatargandannotationNr\r, rr=)r0r1r2r enumeraterZr)r'r*r+r4r(r5rMrg formatvarargs formatvarkw formatvalueZ formatreturnsrWr1rhspecsZ firstdefaultrrespecZ kwonlyargrur rfr formatargspecs<        rpcCsd|Sr[r r]r r r rRrScCsd|Sr^r r]r r r rRrScCs dt|Sr`rbrcr r r rRrSc Cs|||fdd}g} tt|D]} | ||| q |rV| ||||||rt| |||||dd| dS)afFormat an argument spec from the 4 values returned by getargvalues. The first four arguments are (args, varargs, varkw, locals). The next four arguments are the corresponding optional formatting functions that are called to turn names and values into strings. The ninth argument is an optional function to format the sequence of arguments.cSs|||||Srfr )rNlocalsrgrmr r r convert sz formatargvalues..convertrrir)rrrZr) r'r*r+rqrgrkrlrmrrrnrr r r formatargvaluess  rscsfdd|D}t|}|dkr,|d}n>|dkr@dj|}n*dj|dd}|dd=d ||}td |||rzd nd |dkrd nd|fdS)Ncsg|]}|krt|qSr rb)rgrNrCr r rsz&_missing_arguments..rrrz {} and {}z , {} and {}riz*%s() missing %i required %s argument%s: %s positional keyword-onlyrr)rrrr)f_nameZargnamesposrCramissingrtailr rtr _missing_argumentss     r|c st||}tfdd|D}|r:|dk} d|f} n2|rTd} d|t|f} nt|dk} tt|} d} |rd} | |dkrd nd||dkrd ndf} td || | rd nd|| |dkr|sd nd fdS) Ncsg|]}|kr|qSr r )rgrertr r r)sz_too_many..rz at least %dTz from %d to %drz7 positional argument%s (and %d keyword-only argument%s)rz5%s() takes %s positional argument%s but %d%s %s givenZwasZwere)rrr) rxr'Zkwonlyr*ZdefcountZgivenrCZatleastZ kwonly_givenZpluralrKZ kwonly_sigmsgr rtr _too_many's*    r~cOst|}|\}}}}}} } |j} i} t|rB|jdk rB|jf|}t|} t|}|r^t|nd}t| |}t|D]}||| ||<qt|rt||d| |<t||}|ri| |<| D]T\}}||kr|st d| |f|| ||<q|| krt d| |f|| |<q| |kr<|ssz"getclosurevars.. __builtins__)NoneTrueFalse)rr"rrrr& __closure__zip co_freevars __globals__rrrJr rWco_namesKeyErrorr\r) rcodeZ nonlocal_varsZ global_nsZ builtin_nsZ global_varsZ builtin_varsZ unbound_namesrNr r r getclosurevarszs>    r Tracebackz+filename lineno function code_context indexrcCst|r|j}|j}n|j}t|s2td|t|p@t|}|dkr|d|d}zt |\}}Wnt k rd}}YqXt dt |t ||}||||}|d|}nd}}t|||jj||S)aGet information about a frame or traceback object. A tuple of five things is returned: the filename, the line number of the current line, the function name, a list of lines of context from the source code, and the index of the current line within that list. The optional second argument specifies the number of lines of context to return, which are centered around the current line.z'{!r} is not a frame or traceback objectrrrN)r< tb_linenorf_linenor>rrrrrrmaxrrrrr)rRcontextlinenorrrrindexr r r getframeinfos$rcCs|jS)zCGet the line number from a frame object, allowing for optimization.)rrRr r r getlinenosr FrameInforcCs2g}|r.|ft||}|t||j}q|S)zGet a list of records for a frame and all higher (calling) frames. Each record contains a frame object, filename, line number, function name, a list of lines of context, and index within the context.)rrZrf_back)rRr framelist frameinfor r r getouterframess rcCs4g}|r0|jft||}|t||j}q|S)zGet a list of records for a traceback's frame and all lower frames. Each record contains a frame object, filename, line number, function name, a list of lines of context, and index within the context.)rrrZrtb_next)tbrrrr r r getinnerframess rcCsttdrtdSdS)z?Return the frame of the caller or None if this is not possible. _getframerN)rrrr r r r currentframesrcCsttd|S)z@Return a list of records for the stack above the caller's frame.r)rrrrr r r stacksrcCsttd|S)zCReturn a list of records for the stack below the current exception.r)rrexc_inforr r r tracesrcCstjd|S)Nry)r rJr)klassr r r _static_getmrosrcCs8i}zt|d}Wntk r(YnXt||tSNrJ)r __getattribute__r[rr _sentinel)r,attrZ instance_dictr r r _check_instances rc CsHt|D]:}tt|tkrz|j|WStk r@YqXqtSrf)r_shadowed_dictr rrJr)rrentryr r r _check_class s rcCs(z t|Wntk r"YdSXdSNFT)rrr+r r r _is_types  rc Csntjd}t|D]V}z||d}Wntk r<YqXt|tjkr`|jdkr`|j|ks|Sqt Sr) r rJrrrrrrrjr)r dict_attrrZ class_dictr r r rs   rc Cst}t|s>t|}t|}|tks2t|tjkrBt||}n|}t||}|tk r|tk rtt|dtk rtt|dtk r|S|tk r|S|tk r|S||krtt|D]:}tt|tkrz|j |WSt k rYqXq|tk r|St |dS)aRetrieve attributes without triggering dynamic lookup via the descriptor protocol, __getattr__ or __getattribute__. Note: this function may not be able to retrieve all attributes that getattr can fetch (like dynamically created attributes) and may find attributes that getattr can't (like descriptors that raise AttributeError). It can also return descriptor objects instead of instance members in some cases. See the documentation for details. rrN) rrr rrrrrrrJrr[)r,rrEZinstance_resultrrZ klass_resultrr r r getattr_static+s:    r GEN_CREATED GEN_RUNNING GEN_SUSPENDED GEN_CLOSEDcCs,|jr tS|jdkrtS|jjdkr(tStS)a#Get current state of a generator-iterator. Possible states are: GEN_CREATED: Waiting to start execution. GEN_RUNNING: Currently being executed by the interpreter. GEN_SUSPENDED: Currently suspended at a yield expression. GEN_CLOSED: Execution has completed. Nr) gi_runningrgi_framerf_lastirr) generatorr r r getgeneratorstate`s   rcCs:t|std|t|dd}|dk r2|jjSiSdS)z Get the mapping of generator local variables to their current values. A dict is returned, with the keys the local variable names and values the bound values.z{!r} is not a Python generatorrN)r3rrrLrrQ)rrRr r r getgeneratorlocalsrs  r CORO_CREATED CORO_RUNNINGCORO_SUSPENDED CORO_CLOSEDcCs,|jr tS|jdkrtS|jjdkr(tStS)a&Get current state of a coroutine object. Possible states are: CORO_CREATED: Waiting to start execution. CORO_RUNNING: Currently being executed by the interpreter. CORO_SUSPENDED: Currently suspended at an await expression. CORO_CLOSED: Execution has completed. Nr) cr_runningrcr_framerrrr) coroutiner r r getcoroutinestates   rcCs"t|dd}|dk r|jSiSdS)z Get the mapping of coroutine local variables to their current values. A dict is returned, with the keys the local variable names and values the bound values.rN)rLrQ)rrRr r r getcoroutinelocalss r from_bytescCs8zt||}Wntk r$YdSXt|ts4|SdS)zPrivate helper. Checks if ``cls`` has an attribute named ``method_name`` and returns it only if it is a pure python function. N)rLr[r_NonUserDefinedCallables)rhZ method_nameZmethr r r "_signature_get_user_defined_methods  rc Cs|j}t|}|jpd}|jp$i}|r2||}z|j||}Wn6tk rx}zd|} t| |W5d}~XYnXd} |D] \} } z|j | } Wnt k rYnlX| j t kr| | q| j tkr| |krd} | j| d|| <n| | jq| j tkr| j| d|| <| r| j t k s2t| j tkrb|| jtd}||| <|| q| j ttfkr~|| q| j tkr| | jq|j|dS) zPrivate helper to calculate how 'wrapped_sig' signature will look like after applying a 'functools.partial' object (or alike) on it. r z+partial object {!r} has incorrect argumentsNFT)rErwrB)rBrrKr'keywords bind_partialrrr argumentsrrwrDrrFrVrNrHAssertionError move_to_endrIrGrC) wrapped_sigpartialZ extra_argsZ old_params new_paramsZ partial_argsZpartial_keywordsZbarLr}Ztransform_to_kwonly param_namerOZ arg_valueZ new_paramr r r _signature_get_partialsN              rcCslt|j}|r$|djttfkr,td|dj}|ttfkrP|dd}n|t k r`td|j |dS)zWPrivate helper to transform signatures for unbound functions to bound methods. rzinvalid method signaturerNzinvalid argument typer) rnrBrCrwrIrHrrFrDrGrV)rKparamsrwr r r _signature_bound_methods  rcCs&t|p$t|p$t|tp$|ttfkS)zxPrivate helper to test if `obj` is a callable that might support Argument Clinic's __text_signature__ protocol. )rBrrrr r r+r r r _signature_is_builtin.s rcCst|rt|rdSt|dd}t|dd}t|dt}t|dt}t|dd}t|tjot|to|dksxt|to|dkst|t ot|t S)zPrivate helper to test if `obj` is a duck type of FunctionType. A good example of such objects are functions compiled with Cython, which have all attributes that a pure Python function would have, but have their code statically compiled. FrNr& __defaults____kwdefaults____annotations__) callablerrL_voidrrr?rrnr)r,rNrr4rNrMr r r _signature_is_functionlike:s       rcCsr|dst|d}|dkr*|d}|d}|dksH||ksHt|d}|dksf||ksft|d|S)z Private helper to get first parameter name from a __text_signature__ of a builtin method, which should be in the following format: '($param1, ...)'. Assumptions are that the first argument won't have a default value or an annotation. z($,rr:rar)rrfind)roryZcposr r r _signature_get_bound_paramSs    rcCsd|s|ddfSd}d}dd|dD}t|j}t|}d}d}g}|j} d} tj} tj} t|} | j tj ksxt |D]} | j | j }}|| kr|dkr|rd}q||rt d}| d 7} q||d kr|rt |dkst d}| d }q||| kr|d kr|dks t | }q||r6d}|| kr.|d ks6| d | ||dkr|| dq|d |}|||fS)a Private helper function. Takes a signature in Argument Clinic's extended signature format. Returns a tuple of three things: * that signature re-rendered in standard Python syntax, * the index of the "self" parameter (generally 0), or None if the function does not have a "self" parameter, and * the index of the last "positional only" parameter, or None if the signature has no positional-only parameters. NcSsg|]}|dqS)ascii)encode)rglr r r r}sz6_signature_strip_non_python_syntax..rFrrTr/$rri r)rrrrrZr OP ERRORTOKENnextr ENCODINGrstringr) signatureself_parameterlast_positional_onlyrrZ token_streamZ delayed_commaZskip_next_commardr\Zcurrent_parameterrrtr rclean_signaturer r r "_signature_strip_non_python_syntaxjsZ       rTc sjddl|jt|\}}}d|d}z|}Wntk rNd}YnXt|jsjtd||j d} gj t d}it |dd} | rt j| d}|r|jt j fdd fd d  G fd d d jffd d } t| jj} t| jj} tj| | dd}|dk rJjnjttt|D](\}\}}| ||||kr`jq`| jjrj| | jjjt| jj | jj!D]\}}| ||q| jj"rj#| | jj"|dk r\st$t |dd}|dk }t%|}|rB|s6|rB&dndj'jd} | d<||j dS)zdPrivate helper to parse content of '__text_signature__' and return a Signature based on it. rNzdef fooz: passz"{!r} builtin has invalid signaturercs(t|jst|jdk r"td|jS)Nz'Annotations are not currently supported)rrerrJr)node)astr r parse_names z&_signature_fromstr..parse_namec s|zt|}Wn>tk rLzt|}Wntk rFtYnXYnXt|tttttt dfrr |StdSrf) eval NameError RuntimeErrorrrintfloatbytesr%r ZConstant)rrO)r module_dictsys_module_dictr r wrap_values z&_signature_fromstr..wrap_valuecs(eZdZfddZfddZdS)z,_signature_fromstr..RewriteSymbolicscs\g}|}t|jr(||j|j}qt|js:t||jdt |}|S)Nr) rrerZrrONamerrrreversed)rrarrOrrr r visit_Attributes    z<_signature_fromstr..RewriteSymbolics.visit_Attributecst|jjst|jSrf)rZctxZLoadrr)rrr r r visit_Namesz7_signature_fromstr..RewriteSymbolics.visit_NameN)rrrr r r r r r RewriteSymbolicss r cs|}|krdS|rp|tk rpz|}|}Wntk rR}YnX|kr`dS|k rl|n|}||ddS)NrErJ)_emptyZvisitZ literal_evalrrZ)Z name_nodeZ default_noderErNo) Parameterr rrAinvalidrwrBrr r ps   z_signature_fromstr..p) fillvaluerrr@)(r_parameter_clsrparse SyntaxErrorrZModulerrZbodyrAr rLrrrrJrZNodeTransformerrr'r4 itertools zip_longestPOSITIONAL_ONLYPOSITIONAL_OR_KEYWORDrjr"ZvarargVAR_POSITIONAL KEYWORD_ONLYrr(Z kw_defaultsr VAR_KEYWORDrr rrV)rhr,rr;rrrZprogramrr(Z module_namerr'r4rrrNrEZ_selfZ self_isboundZ self_ismoduler ) rr rrArrwrrBrrrr _signature_fromstrsp                    rcCsBt|std|t|dd}|s4td|t||||S)zHPrivate helper function to get signature for builtin callables. z%{!r} is not a Python builtin function__text_signature__Nz#no signature found for builtin {!r})rrrrLrr)rhrr;rr r r _signature_from_builtin<s r!c CsHd}t|s(t|rd}ntd|t|dd}|rFt||||S|j}|j}|j}|j }|j } |d|} |j } |||| } |j } |j }|j}|rt|}nd}g}||}| }| d|D]<}|rtnt}| |t}|||||d|r|d8}qt| |dD]L\}}|r&tnt}| |t}|||||||d |r|d8}q|jt@r||| }| |t}||||td| D]B}t}|dk r||t}| |t}||||t|d q|jt@r2|| }|jt@r |d7}||}| |t}||||td||| d t|d S) zCPrivate helper: constructs Signature for the given python function.FTrr Nr)rJrwr)rJrwrEr=r@__validate_parameters__)rrrrrLrrr&r rco_posonlyargcountr!rrrrrDrFrrrZrjr'r#rGrHr$rI)rhrr;Zis_duck_functionrrZ func_codeZ pos_countZ arg_namesZ posonly_countrvZkeyword_only_countZ keyword_onlyrMr4rNZpos_default_countrBZnon_default_countZ posonly_leftrNrwrJoffsetrErr r r _signature_from_functionLs                        r&)r:r;c Cst|std|t|tjrDt|j|||d}|r@t|S|S|rtt |ddd}t|tjrtt||||dSz |j }Wnt k rYn&X|dk rt|t std||Sz |j }Wnt k rYnXt|tjrdt|j|||d}t||d}t|jd }|jtjkr(|St|j}|rN||d k sNt|f|} |j| d St|sxt|rt|||d St|rt|||d St|tjrt|j|||d}t||Sd}t|t rt!t |d } | dk rt| |||d}nJt!|d } | dk r(t| |||d}n$t!|d} | dk rLt| |||d}|dkrX|j"ddD]>} z | j#}Wnt k rYnX|rdt$|||Sqdt |j"krX|j%t&j%kr|j't&j'kr|(t&St)d|nrt|t*sXt!t |d } | dk rXzt| |||d}Wn8t)k rV}zd|}t)||W5d}~XYnX|dk rt|rpt|S|St|tj+rd|}t)|t)d|dS)zQPrivate helper function to get signature for arbitrary callable objects. z{!r} is not a callable objectr9cSs t|dS)N __signature__r~rr r r rRrSz*_signature_from_callable..rzNz1unexpected object {!r} in __signature__ attributerfrr)r;__call____new__rrz(no signature found for builtin type {!r}zno signature found for {!r}z,no signature found for builtin function {!r}z+callable {!r} is not supported by signature),rrrrrrr>r"rrr'r[r?_partialmethodr# partialmethodrrrnrBrCrwrrrrVrrr&rr!rr rryr rrr r) from_callablerrrA)r,r:r;r<rKr+rZfirst_wrapped_paramZ sig_paramsrZcallnewZinitrPZtext_sigrLr}r r r r>s                              r>c@seZdZdZdS)rz1A private marker - used in Parameter & Signature.Nrrrrr r r r rt src@seZdZdZdS)rz6Marker object for Signature.empty and Parameter.empty.Nr.r r r r rx src@s4eZdZdZdZdZdZdZddZe dd Z d S) _ParameterKindrrrcCs|jSrf)_name_rr r r __str__ sz_ParameterKind.__str__cCst|Srf)_PARAM_NAME_MAPPINGrr r r description sz_ParameterKind.descriptionN) rrrrrrrrr3rkr5r r r r r/| sr/zpositional-onlyzpositional or keywordzvariadic positionalrwzvariadic keywordc@seZdZdZdZeZeZe Z e Z e ZeZeedddZddZdd Zed d Zed d ZeddZeddZeeeedddZddZddZddZddZdS)raRepresents a parameter in a function signature. Has the following public attributes: * name : str The name of the parameter as a string. * default : object The default value for the parameter if specified. If the parameter has no default value, this attribute is set to `Parameter.empty`. * annotation The annotation for the parameter if specified. If the parameter has no annotation, this attribute is set to `Parameter.empty`. * kind : str Describes how argument values are bound to the parameter. Possible values: `Parameter.POSITIONAL_ONLY`, `Parameter.POSITIONAL_OR_KEYWORD`, `Parameter.VAR_POSITIONAL`, `Parameter.KEYWORD_ONLY`, `Parameter.VAR_KEYWORD`. )_name_kind_default _annotationr cCszt||_Wn$tk r2td|dYnX|tk rd|jttfkrdd}||jj}t|||_||_ |tkrtdt |t sdt |j }t||ddkr|ddr|jtkrd }||jj}t|t|_d |dd}|std |||_dS) Nzvalue z is not a valid Parameter.kindz({} parameters cannot have default valuesz*name is a required attribute for Parameterzname must be a str, not a {}rrrzLimplicit arguments must be passed as positional or keyword arguments, not {}z implicit{}z"{!r} is not a valid parameter name)r/r7rrrGrIrr5r8r9rrr rrisdigitrFrD isidentifierr6)rrNrwrErJr}r r r r s6   zParameter.__init__cCs t||j|jf|j|jdfS)Nr8r9)r r6r7r8r9rr r r __reduce__ s  zParameter.__reduce__cCs|d|_|d|_dS)Nr8r9r<rstater r r __setstate__ s zParameter.__setstate__cCs|jSrf)r6rr r r rN szParameter.namecCs|jSrf)r8rr r r rE szParameter.defaultcCs|jSrf)r9rr r r rJ szParameter.annotationcCs|jSrf)r7rr r r rw szParameter.kind)rNrwrJrEcCsL|tkr|j}|tkr|j}|tkr*|j}|tkr8|j}t|||||dS)z+Creates a customized copy of the Parameter.r )rr6r7r9r8r )rrNrwrJrEr r r rV szParameter.replacecCs|j}|j}|jtk r(d|t|j}|jtk rb|jtk rPd|t|j}nd|t|j}|tkrtd|}n|t krd|}|S)Nz{}: {}z{} = {}z{}={}r\r_) rwr6r9rrrWr8rUrGrI)rrw formattedr r r r3 s    zParameter.__str__cCsd|jj|S)Nz <{} "{}">rrrrr r r __repr__# szParameter.__repr__cCst|j|j|j|jfSrf)hashrNrwrJrErr r r __hash__& szParameter.__hash__cCsJ||kr dSt|tstS|j|jkoH|j|jkoH|j|jkoH|j|jkSNT)rrNotImplementedr6r7r8r9rotherr r r __eq__) s     zParameter.__eq__N)rrrrrrDrrFrrGrrHrrIrrrArr=r@rkrNrErJrwrrVr3rCrErJr r r r r s6(     rc@sheZdZdZdZddZeddZeddZed d Z d d Z d dZ ddZ ddZ ddZdS)BoundArgumentsaResult of `Signature.bind` call. Holds the mapping of arguments to the function's parameters. Has the following public attributes: * arguments : OrderedDict An ordered mutable mapping of parameters' names to arguments' values. Does not contain arguments' default values. * signature : Signature The Signature object that created this instance. * args : tuple Tuple of positional arguments values. * kwargs : dict Dict of keyword arguments values. )r _signature __weakref__cCs||_||_dSrf)rrL)rrrr r r rG szBoundArguments.__init__cCs|jSrf)rLrr r r rK szBoundArguments.signaturec Cs~g}|jjD]d\}}|jttfkr*qvz|j|}Wntk rRYqvYqX|jtkrj| |q| |qt |Srf) rLrBrKrwrIrHrrrGextendrZrn)rr'rrOrer r r r'O s    zBoundArguments.argsc Csi}d}|jjD]x\}}|sD|jttfkr4d}n||jkrDd}q|sJqz|j|}Wntk rlYqX|jtkr||q|||<q|Sr) rLrBrKrwrIrHrrupdate)rkwargsZkwargs_startedrrOrer r r rPf s&    zBoundArguments.kwargsc Cs|j}g}|jjD]x\}}z||||fWqtk r|jtk rV|j}n$|jt krfd}n|jt krvi}nYq|||fYqXqt ||_dS)zSet default values for missing arguments. For variable-positional arguments (*args) the default is an empty tuple. For variable-keyword arguments (**kwargs) the default is an empty dict. r N) rrLrBrKrZrrErrwrGrIr)rrZ new_argumentsrNrOvalr r r apply_defaults s    zBoundArguments.apply_defaultscCs2||kr dSt|tstS|j|jko0|j|jkSrF)rrKrGrrrHr r r rJ s   zBoundArguments.__eq__cCs|d|_|d|_dS)NrLrrLrr>r r r r@ s zBoundArguments.__setstate__cCs|j|jdS)NrSrSrr r r __getstate__ szBoundArguments.__getstate__cCs@g}|jD]\}}|d||qd|jjd|S)Nz{}={!r}z <{} ({})>ri)rrKrZrrrr)rr'rerOr r r rC szBoundArguments.__repr__N)rrrrrrrkrr'rPrRrJr@rTrCr r r r rK4 s   rKc@seZdZdZdZeZeZe Z d,e ddddZ e dd Z e d d Ze dd d dZeddZeddZeedddZddZddZddZddddZd d!Zd"d#Zd$d%Zd&d'Zd(d)Zd*d+ZdS)-r?aA Signature object represents the overall signature of a function. It stores a Parameter object for each parameter accepted by the function, as well as information specific to the function itself. A Signature object has the following public attributes and methods: * parameters : OrderedDict An ordered mapping of parameters' names to the corresponding Parameter objects (keyword-only arguments are in the same order as listed in `code.co_varnames`). * return_annotation : object The annotation for the return type of the function if specified. If the function has no annotation for its return type, this attribute is set to `Signature.empty`. * bind(*args, **kwargs) -> BoundArguments Creates a mapping from positional and keyword arguments to parameters. * bind_partial(*args, **kwargs) -> BoundArguments Creates a partial mapping from positional and keyword arguments to parameters (simulating 'functools.partial' behavior.) )_return_annotation _parametersNTr"c Cs|dkrt}n|rt}t}d}t|D]\}}|j} |j} | |krdd} | |j| j} t| n| |krtd}| }| ttfkr|j t kr|rd} t| nd}| |krd| } t| ||| <q*ntdd|D}t ||_ ||_dS) zConstructs Signature from the given list of Parameter objects and 'return_annotation'. All arguments are optional. NFz7wrong parameter order: {} parameter before {} parameterz-non-default argument follows default argumentTzduplicate parameter name: {!r}css|]}|j|fVqdSrfr]rgrOr r r ri sz%Signature.__init__..)rrDrjrwrNrr5rrFrErrMappingProxyTyperVrU) rrBr@r#rZtop_kindZ kind_defaultsidxrOrwrNr}r r r r sD       zSignature.__init__cCstjdtddt||S)zConstructs Signature for the given python function. Deprecated since Python 3.5, use `Signature.from_callable()`. z_inspect.Signature.from_function() is deprecated since Python 3.5, use Signature.from_callable()rr.)r0r1r2r&rhrr r r from_function s zSignature.from_functioncCstjdtddt||S)zConstructs Signature for the given builtin function. Deprecated since Python 3.5, use `Signature.from_callable()`. z^inspect.Signature.from_builtin() is deprecated since Python 3.5, use Signature.from_callable()rr.)r0r1r2r!rZr r r from_builtin s zSignature.from_builtinfollow_wrappedcCst|||dS)z3Constructs Signature for the given callable object.)r<r:)r>)rhr,r^r r r r,# szSignature.from_callablecCs|jSrf)rVrr r r rB) szSignature.parameterscCs|jSrfrUrr r r r@- szSignature.return_annotation)rBr@cCs0|tkr|j}|tkr |j}t|||dS)zCreates a customized copy of the Signature. Pass 'parameters' and/or 'return_annotation' arguments to override them in the new copy. r)rrBrCrUr )rrBr@r r r rV1 s zSignature.replacecCs8tdd|jD}dd|jD}|||jfS)Ncss|]}|jtkr|VqdSrf)rwrHrWr r r riA s z(Signature._hash_basis..cSsi|]}|jtkr|j|qSr )rwrHrNrWr r r rD s z)Signature._hash_basis..)rnrBrCr@)rr kwo_paramsr r r _hash_basis@ szSignature._hash_basiscCs(|\}}}t|}t|||fSrf)ra frozensetrCrD)rrr`r@r r r rEI s zSignature.__hash__cCs*||kr dSt|tstS||kSrF)rr?rGrarHr r r rJN s  zSignature.__eq__Frc Cst}t|j}d}t|}z t|}Wntk r z t|} Wntk rfYYqYnX| jtkrzYqn| j|kr| jt krd} | j | jd} t | d| f}YqnP| jt ks| j tk r| f}Yqn.|r| f}Yqnd} | j | jd} t | dYq Xz t|} Wn tk r:t ddYq X| jt tfkrVt dd| jtkr|g} | |t| || j<q| j|kr| jt krt dj | jdd||| j<q d} t||D]} | jt kr| } q| jtkrq| j} z|| }WnFtk rN|sJ| jtkrJ| j tkrJt dj | ddYn(X| jt krnt dj | jd||| <q|r| dk r||| j<nt dj tt|d|||S) z#Private method. Don't use directly.r zA{arg!r} parameter is positional only, but was passed as a keyword)reNz$missing a required argument: {arg!r}ztoo many positional argumentsz$multiple values for argument {arg!r}z*got an unexpected keyword argument {arg!r})rrrBrCr StopIterationrwrGrNrDrrrIrErrHrNrnrchainrr_bound_arguments_cls)rr'rPrrrBZ parameters_exZarg_valsZarg_valrOr}rCZ kwargs_paramrr r r _bindU s                  zSignature._bindcOs |||S)zGet a BoundArguments object, that maps the passed `args` and `kwargs` to the function's signature. Raises `TypeError` if the passed arguments can not be bound. rgrr'rPr r r bind szSignature.bindcOs|j||ddS)zGet a BoundArguments object, that partially maps the passed `args` and `kwargs` to the function's signature. Raises `TypeError` if the passed arguments can not be bound. Trcrhrir r r r szSignature.bind_partialcCs t|t|jfd|jifSNrU)r rnrVrCrUrr r r r= szSignature.__reduce__cCs|d|_dSrkr_r>r r r r@ szSignature.__setstate__cCsd|jj|S)Nz<{} {}>rBrr r r rC szSignature.__repr__c Csg}d}d}|jD]d}t|}|j}|tkr6d}n|rH|dd}|tkrVd}n|tkrp|rp|dd}||q|r|ddd |}|j t k rt |j }|d|7}|S)NFTrr\z({})riz -> {}) rBrCrrwrDrZrGrHrrr@rrW) rruZrender_pos_only_separatorZrender_kw_only_separatorrOrArwZrenderedZannor r r r3 s0       zSignature.__str__)N)rrrrrrrrKrfrrArrsr[r\r,rkrBr@rrVrarErJrgrjrr=r@rCr3r r r r r? s< 7     r?r]cCstj||dS)z/Get a signature object for the passed callable.r])r?r,)r,r^r r r r src Csddl}ddl}|}|jddd|jdddd d |}|j}|d \}}}z||}} WnNtk r} z0d |t | j | } t | t jd t dW5d} ~ XYnX|r|d} | }| D]} t|| }q| j t jkrt dt jd t d|jrt d |t d t| t d | j|| krxt d t| jt| drt d | jn6zt|\}}Wntk rYnXt d |t dn t t|dS)z6 Logic for inspecting an object given at command line rNr zCThe object to be analysed. It supports the 'module:qualname' syntax)helpz-dz --details store_truez9Display info about the module rather than its source code)actionrlrzFailed to import {} ({}: {}))rrrz#Can't get info for builtin modules.rz Target: {}z Origin: {}z Cached: {}z Loader: {}__path__zSubmodule search path: {}zLine: {}r)argparserArgumentParser add_argument parse_argsr partition import_modulerorr rprintrstderrexitrrLbuiltin_module_namesZdetailsr __cached__rUrrrorr)rprparserr'targetZmod_nameZ has_attrsattrsr,rrvr}partspart__rr r r _main$ s`      rr)N)N)N)F)N)r)r)r)r)r)r )T)T)T)r __author__r8disZcollections.abcr7enumimportlib.machineryrrrrrrrr rr0r#roperatorrrrglobalsZmod_dictZCOMPILER_FLAG_NAMESrKrbrcrGr rrrrrrr rr*r-r.r/r1r3r5r:r<r>r@rBrCrQrdrerxrVrrrrrrrrrrrrrrrrorrrrrrrrr,r-r7r8r3rPrSrWrZrrprsr|r~rrrrrr_fieldsrrrrrrr rrrrrrrrrrrrrrrrrrrr r(Z_WrapperDescriptorallZ_MethodWrapperrrJZ_ClassMethodWrapperrArrrrrrrrrr!r&r>rrIntEnumr/rrDrrFrrGrrHrrIr4rrKr?rrrr r r r sz            , t$ >   .N->     ]   ; < 5        0   L H   _ K k: