/opt/alt/python39/lib64/python3.9/__pycache__
NameSizeModeActions
abc.cpython-39.opt-1.pyc57880644editdlrm
abc.cpython-39.opt-2.pyc32290644editdlrm
abc.cpython-39.pyc57880644editdlrm
aifc.cpython-39.opt-1.pyc252790644editdlrm
aifc.cpython-39.opt-2.pyc200720644editdlrm
aifc.cpython-39.pyc252790644editdlrm
antigravity.cpython-39.opt-1.pyc8320644editdlrm
antigravity.cpython-39.opt-2.pyc6880644editdlrm
antigravity.cpython-39.pyc8320644editdlrm
argparse.cpython-39.opt-1.pyc635560644editdlrm
argparse.cpython-39.opt-2.pyc541920644editdlrm
argparse.cpython-39.pyc636670644editdlrm
ast.cpython-39.opt-1.pyc523450644editdlrm
ast.cpython-39.opt-2.pyc438000644editdlrm
ast.cpython-39.pyc523960644editdlrm
asynchat.cpython-39.opt-1.pyc68350644editdlrm
asynchat.cpython-39.opt-2.pyc54600644editdlrm
asynchat.cpython-39.pyc68350644editdlrm
asyncore.cpython-39.opt-1.pyc160490644editdlrm
asyncore.cpython-39.opt-2.pyc148450644editdlrm
asyncore.cpython-39.pyc160490644editdlrm
base64.cpython-39.opt-1.pyc163360644editdlrm
base64.cpython-39.opt-2.pyc108160644editdlrm
base64.cpython-39.pyc164680644editdlrm
bdb.cpython-39.opt-1.pyc245530644editdlrm
bdb.cpython-39.opt-2.pyc155160644editdlrm
bdb.cpython-39.pyc245530644editdlrm
binhex.cpython-39.opt-1.pyc129780644editdlrm
binhex.cpython-39.opt-2.pyc124440644editdlrm
binhex.cpython-39.pyc129780644editdlrm
bisect.cpython-39.opt-1.pyc23630644editdlrm
bisect.cpython-39.opt-2.pyc10510644editdlrm
bisect.cpython-39.pyc23630644editdlrm
bz2.cpython-39.opt-1.pyc115580644editdlrm
bz2.cpython-39.opt-2.pyc65420644editdlrm
bz2.cpython-39.pyc115580644editdlrm
calendar.cpython-39.opt-1.pyc270440644editdlrm
calendar.cpython-39.opt-2.pyc224520644editdlrm
calendar.cpython-39.pyc270440644editdlrm
cgi.cpython-39.opt-1.pyc264950644editdlrm
cgi.cpython-39.opt-2.pyc180690644editdlrm
cgi.cpython-39.pyc264950644editdlrm
cgitb.cpython-39.opt-1.pyc101990644editdlrm
cgitb.cpython-39.opt-2.pyc86000644editdlrm
cgitb.cpython-39.pyc101990644editdlrm
chunk.cpython-39.opt-1.pyc48540644editdlrm
chunk.cpython-39.opt-2.pyc27100644editdlrm
chunk.cpython-39.pyc48540644editdlrm
cmd.cpython-39.opt-1.pyc126890644editdlrm
cmd.cpython-39.opt-2.pyc72640644editdlrm
cmd.cpython-39.pyc126890644editdlrm
code.cpython-39.opt-1.pyc99290644editdlrm
code.cpython-39.opt-2.pyc46580644editdlrm
code.cpython-39.pyc99290644editdlrm
codecs.cpython-39.opt-1.pyc339010644editdlrm
codecs.cpython-39.opt-2.pyc183290644editdlrm
codecs.cpython-39.pyc339010644editdlrm
codeop.cpython-39.opt-1.pyc64710644editdlrm
codeop.cpython-39.opt-2.pyc24110644editdlrm
codeop.cpython-39.pyc64710644editdlrm
colorsys.cpython-39.opt-1.pyc32730644editdlrm
colorsys.cpython-39.opt-2.pyc26670644editdlrm
colorsys.cpython-39.pyc32730644editdlrm
compileall.cpython-39.opt-1.pyc126020644editdlrm
compileall.cpython-39.opt-2.pyc93430644editdlrm
compileall.cpython-39.pyc126020644editdlrm
configparser.cpython-39.opt-1.pyc458820644editdlrm
configparser.cpython-39.opt-2.pyc307420644editdlrm
configparser.cpython-39.pyc458820644editdlrm
contextlib.cpython-39.opt-1.pyc195410644editdlrm
contextlib.cpython-39.opt-2.pyc139560644editdlrm
contextlib.cpython-39.pyc195510644editdlrm
contextvars.cpython-39.opt-1.pyc2580644editdlrm
contextvars.cpython-39.opt-2.pyc2580644editdlrm
contextvars.cpython-39.pyc2580644editdlrm
copy.cpython-39.opt-1.pyc69760644editdlrm
copy.cpython-39.opt-2.pyc46730644editdlrm
copy.cpython-39.pyc69760644editdlrm
copyreg.cpython-39.opt-1.pyc44240644editdlrm
copyreg.cpython-39.opt-2.pyc36220644editdlrm
copyreg.cpython-39.pyc44430644editdlrm
cProfile.cpython-39.opt-1.pyc51290644editdlrm
cProfile.cpython-39.opt-2.pyc46680644editdlrm
cProfile.cpython-39.pyc51290644editdlrm
crypt.cpython-39.opt-1.pyc35260644editdlrm
crypt.cpython-39.opt-2.pyc28640644editdlrm
crypt.cpython-39.pyc35260644editdlrm
csv.cpython-39.opt-1.pyc118620644editdlrm
csv.cpython-39.opt-2.pyc98210644editdlrm
csv.cpython-39.pyc118620644editdlrm
dataclasses.cpython-39.opt-1.pyc232300644editdlrm
dataclasses.cpython-39.opt-2.pyc197910644editdlrm
dataclasses.cpython-39.pyc232300644editdlrm
datetime.cpython-39.opt-1.pyc569870644editdlrm
datetime.cpython-39.opt-2.pyc485430644editdlrm
datetime.cpython-39.pyc581280644editdlrm
decimal.cpython-39.opt-1.pyc3720644editdlrm
decimal.cpython-39.opt-2.pyc3720644editdlrm
decimal.cpython-39.pyc3720644editdlrm
difflib.cpython-39.opt-1.pyc585710644editdlrm
difflib.cpython-39.opt-2.pyc250370644editdlrm
difflib.cpython-39.pyc585930644editdlrm
dis.cpython-39.opt-1.pyc158330644editdlrm
dis.cpython-39.opt-2.pyc120260644editdlrm
dis.cpython-39.pyc158330644editdlrm
doctest.cpython-39.opt-1.pyc758450644editdlrm
doctest.cpython-39.opt-2.pyc405390644editdlrm
doctest.cpython-39.pyc760520644editdlrm
enum.cpython-39.opt-1.pyc260330644editdlrm
enum.cpython-39.opt-2.pyc211110644editdlrm
enum.cpython-39.pyc260330644editdlrm
filecmp.cpython-39.opt-1.pyc86350644editdlrm
filecmp.cpython-39.opt-2.pyc60970644editdlrm
filecmp.cpython-39.pyc86350644editdlrm
fileinput.cpython-39.opt-1.pyc138030644editdlrm
fileinput.cpython-39.opt-2.pyc81950644editdlrm
fileinput.cpython-39.pyc138030644editdlrm
fnmatch.cpython-39.opt-1.pyc38830644editdlrm
fnmatch.cpython-39.opt-2.pyc26750644editdlrm
fnmatch.cpython-39.pyc39550644editdlrm
formatter.cpython-39.opt-1.pyc175520644editdlrm
formatter.cpython-39.opt-2.pyc151120644editdlrm
formatter.cpython-39.pyc175520644editdlrm
fractions.cpython-39.opt-1.pyc180620644editdlrm
fractions.cpython-39.opt-2.pyc108620644editdlrm
fractions.cpython-39.pyc180620644editdlrm
ftplib.cpython-39.opt-1.pyc287070644editdlrm
ftplib.cpython-39.opt-2.pyc185630644editdlrm
ftplib.cpython-39.pyc287070644editdlrm
functools.cpython-39.opt-1.pyc287360644editdlrm
functools.cpython-39.opt-2.pyc220150644editdlrm
functools.cpython-39.pyc287360644editdlrm
genericpath.cpython-39.opt-1.pyc45540644editdlrm
genericpath.cpython-39.opt-2.pyc33710644editdlrm
genericpath.cpython-39.pyc45540644editdlrm
getopt.cpython-39.opt-1.pyc62550644editdlrm
getopt.cpython-39.opt-2.pyc37010644editdlrm
getopt.cpython-39.pyc62730644editdlrm
getpass.cpython-39.opt-1.pyc42130644editdlrm
getpass.cpython-39.opt-2.pyc30270644editdlrm
getpass.cpython-39.pyc42130644editdlrm
gettext.cpython-39.opt-1.pyc180860644editdlrm
gettext.cpython-39.opt-2.pyc173950644editdlrm
gettext.cpython-39.pyc180860644editdlrm
glob.cpython-39.opt-1.pyc45180644editdlrm
glob.cpython-39.opt-2.pyc36580644editdlrm
glob.cpython-39.pyc45570644editdlrm
graphlib.cpython-39.opt-1.pyc75350644editdlrm
graphlib.cpython-39.opt-2.pyc40990644editdlrm
graphlib.cpython-39.pyc75810644editdlrm
gzip.cpython-39.opt-1.pyc185070644editdlrm
gzip.cpython-39.opt-2.pyc146400644editdlrm
gzip.cpython-39.pyc185070644editdlrm
hashlib.cpython-39.opt-1.pyc67040644editdlrm
hashlib.cpython-39.opt-2.pyc61360644editdlrm
hashlib.cpython-39.pyc67040644editdlrm
heapq.cpython-39.opt-1.pyc140530644editdlrm
heapq.cpython-39.opt-2.pyc110370644editdlrm
heapq.cpython-39.pyc140530644editdlrm
hmac.cpython-39.opt-1.pyc68130644editdlrm
hmac.cpython-39.opt-2.pyc42960644editdlrm
hmac.cpython-39.pyc68130644editdlrm
imaplib.cpython-39.opt-1.pyc403980644editdlrm
imaplib.cpython-39.opt-2.pyc277150644editdlrm
imaplib.cpython-39.pyc425790644editdlrm
imghdr.cpython-39.opt-1.pyc41530644editdlrm
imghdr.cpython-39.opt-2.pyc38380644editdlrm
imghdr.cpython-39.pyc41530644editdlrm
imp.cpython-39.opt-1.pyc98640644editdlrm
imp.cpython-39.opt-2.pyc74990644editdlrm
imp.cpython-39.pyc98640644editdlrm
inspect.cpython-39.opt-1.pyc812430644editdlrm
inspect.cpython-39.opt-2.pyc561150644editdlrm
inspect.cpython-39.pyc814850644editdlrm
io.cpython-39.opt-1.pyc34210644editdlrm
io.cpython-39.opt-2.pyc19320644editdlrm
io.cpython-39.pyc34210644editdlrm
ipaddress.cpython-39.opt-1.pyc656950644editdlrm
ipaddress.cpython-39.opt-2.pyc397150644editdlrm
ipaddress.cpython-39.pyc656950644editdlrm
keyword.cpython-39.opt-1.pyc9290644editdlrm
keyword.cpython-39.opt-2.pyc5250644editdlrm
keyword.cpython-39.pyc9290644editdlrm
linecache.cpython-39.opt-1.pyc40410644editdlrm
linecache.cpython-39.opt-2.pyc28080644editdlrm
linecache.cpython-39.pyc40410644editdlrm
locale.cpython-39.opt-1.pyc347090644editdlrm
locale.cpython-39.opt-2.pyc300910644editdlrm
locale.cpython-39.pyc347090644editdlrm
lzma.cpython-39.opt-1.pyc121070644editdlrm
lzma.cpython-39.opt-2.pyc59090644editdlrm
lzma.cpython-39.pyc121070644editdlrm
mailbox.cpython-39.opt-1.pyc605590644editdlrm
mailbox.cpython-39.opt-2.pyc539550644editdlrm
mailbox.cpython-39.pyc606130644editdlrm
mailcap.cpython-39.opt-1.pyc72520644editdlrm
mailcap.cpython-39.opt-2.pyc56820644editdlrm
mailcap.cpython-39.pyc72520644editdlrm
mimetypes.cpython-39.opt-1.pyc160280644editdlrm
mimetypes.cpython-39.opt-2.pyc100130644editdlrm
mimetypes.cpython-39.pyc160280644editdlrm
modulefinder.cpython-39.opt-1.pyc160950644editdlrm
modulefinder.cpython-39.opt-2.pyc151860644editdlrm
modulefinder.cpython-39.pyc161410644editdlrm
netrc.cpython-39.opt-1.pyc37960644editdlrm
netrc.cpython-39.opt-2.pyc35580644editdlrm
netrc.cpython-39.pyc37960644editdlrm
nntplib.cpython-39.opt-1.pyc317760644editdlrm
nntplib.cpython-39.opt-2.pyc201760644editdlrm
nntplib.cpython-39.pyc317760644editdlrm
ntpath.cpython-39.opt-1.pyc148250644editdlrm
ntpath.cpython-39.opt-2.pyc127740644editdlrm
ntpath.cpython-39.pyc148250644editdlrm
nturl2path.cpython-39.opt-1.pyc17590644editdlrm
nturl2path.cpython-39.opt-2.pyc13400644editdlrm
nturl2path.cpython-39.pyc17590644editdlrm
numbers.cpython-39.opt-1.pyc123320644editdlrm
numbers.cpython-39.opt-2.pyc83750644editdlrm
numbers.cpython-39.pyc123320644editdlrm
opcode.cpython-39.opt-1.pyc52360644editdlrm
opcode.cpython-39.opt-2.pyc50950644editdlrm
opcode.cpython-39.pyc52360644editdlrm
operator.cpython-39.opt-1.pyc137970644editdlrm
operator.cpython-39.opt-2.pyc114080644editdlrm
operator.cpython-39.pyc137970644editdlrm
optparse.cpython-39.opt-1.pyc479010644editdlrm
optparse.cpython-39.opt-2.pyc355860644editdlrm
optparse.cpython-39.pyc479560644editdlrm
os.cpython-39.opt-1.pyc316430644editdlrm
os.cpython-39.opt-2.pyc194530644editdlrm
os.cpython-39.pyc316590644editdlrm
pathlib.cpython-39.opt-1.pyc435410644editdlrm
pathlib.cpython-39.opt-2.pyc346810644editdlrm
pathlib.cpython-39.pyc435410644editdlrm
pdb.cpython-39.opt-1.pyc475600644editdlrm
pdb.cpython-39.opt-2.pyc334890644editdlrm
pdb.cpython-39.pyc475990644editdlrm
pickle.cpython-39.opt-1.pyc470250644editdlrm
pickle.cpython-39.opt-2.pyc411550644editdlrm
pickle.cpython-39.pyc471110644editdlrm
pickletools.cpython-39.opt-1.pyc663060644editdlrm
pickletools.cpython-39.opt-2.pyc572130644editdlrm
pickletools.cpython-39.pyc671200644editdlrm
pipes.cpython-39.opt-1.pyc78080644editdlrm
pipes.cpython-39.opt-2.pyc49410644editdlrm
pipes.cpython-39.pyc78080644editdlrm
pkgutil.cpython-39.opt-1.pyc185790644editdlrm
pkgutil.cpython-39.opt-2.pyc118800644editdlrm
pkgutil.cpython-39.pyc185790644editdlrm
platform.cpython-39.opt-1.pyc264290644editdlrm
platform.cpython-39.opt-2.pyc183610644editdlrm
platform.cpython-39.pyc264290644editdlrm
plistlib.cpython-39.opt-1.pyc235090644editdlrm
plistlib.cpython-39.opt-2.pyc211500644editdlrm
plistlib.cpython-39.pyc235600644editdlrm
poplib.cpython-39.opt-1.pyc136700644editdlrm
poplib.cpython-39.opt-2.pyc87400644editdlrm
poplib.cpython-39.pyc136700644editdlrm
posixpath.cpython-39.opt-1.pyc106220644editdlrm
posixpath.cpython-39.opt-2.pyc89070644editdlrm
posixpath.cpython-39.pyc106220644editdlrm
pprint.cpython-39.opt-1.pyc168100644editdlrm
pprint.cpython-39.opt-2.pyc146530644editdlrm
pprint.cpython-39.pyc168430644editdlrm
profile.cpython-39.opt-1.pyc142360644editdlrm
profile.cpython-39.opt-2.pyc112580644editdlrm
profile.cpython-39.pyc144240644editdlrm
pstats.cpython-39.opt-1.pyc237650644editdlrm
pstats.cpython-39.opt-2.pyc208560644editdlrm
pstats.cpython-39.pyc237650644editdlrm
pty.cpython-39.opt-1.pyc39690644editdlrm
pty.cpython-39.opt-2.pyc31240644editdlrm
pty.cpython-39.pyc39690644editdlrm
pyclbr.cpython-39.opt-1.pyc104620644editdlrm
pyclbr.cpython-39.opt-2.pyc68610644editdlrm
pyclbr.cpython-39.pyc104620644editdlrm
pydoc.cpython-39.opt-1.pyc854410644editdlrm
pydoc.cpython-39.opt-2.pyc755590644editdlrm
pydoc.cpython-39.pyc854730644editdlrm
py_compile.cpython-39.opt-1.pyc74090644editdlrm
py_compile.cpython-39.opt-2.pyc36710644editdlrm
py_compile.cpython-39.pyc74090644editdlrm
queue.cpython-39.opt-1.pyc108890644editdlrm
queue.cpython-39.opt-2.pyc65390644editdlrm
queue.cpython-39.pyc108890644editdlrm
quopri.cpython-39.opt-1.pyc56160644editdlrm
quopri.cpython-39.opt-2.pyc45800644editdlrm
quopri.cpython-39.pyc57600644editdlrm
random.cpython-39.opt-1.pyc220560644editdlrm
random.cpython-39.opt-2.pyc146090644editdlrm
random.cpython-39.pyc220560644editdlrm
re.cpython-39.opt-1.pyc143750644editdlrm
re.cpython-39.opt-2.pyc60370644editdlrm
re.cpython-39.pyc143750644editdlrm
reprlib.cpython-39.opt-1.pyc53200644editdlrm
reprlib.cpython-39.opt-2.pyc51640644editdlrm
reprlib.cpython-39.pyc53200644editdlrm
rlcompleter.cpython-39.opt-1.pyc58190644editdlrm
rlcompleter.cpython-39.opt-2.pyc31560644editdlrm
rlcompleter.cpython-39.pyc58190644editdlrm
runpy.cpython-39.opt-1.pyc93980644editdlrm
runpy.cpython-39.opt-2.pyc69560644editdlrm
runpy.cpython-39.pyc93980644editdlrm
sched.cpython-39.opt-1.pyc66460644editdlrm
sched.cpython-39.opt-2.pyc36180644editdlrm
sched.cpython-39.pyc66460644editdlrm
secrets.cpython-39.opt-1.pyc21930644editdlrm
secrets.cpython-39.opt-2.pyc11350644editdlrm
secrets.cpython-39.pyc21930644editdlrm
selectors.cpython-39.opt-1.pyc172580644editdlrm
selectors.cpython-39.opt-2.pyc131490644editdlrm
selectors.cpython-39.pyc172580644editdlrm
shelve.cpython-39.opt-1.pyc95570644editdlrm
shelve.cpython-39.opt-2.pyc54060644editdlrm
shelve.cpython-39.pyc95570644editdlrm
shlex.cpython-39.opt-1.pyc77470644editdlrm
shlex.cpython-39.opt-2.pyc71890644editdlrm
shlex.cpython-39.pyc77470644editdlrm
shutil.cpython-39.opt-1.pyc385100644editdlrm
shutil.cpython-39.opt-2.pyc264420644editdlrm
shutil.cpython-39.pyc385100644editdlrm
signal.cpython-39.opt-1.pyc30190644editdlrm
signal.cpython-39.opt-2.pyc27950644editdlrm
signal.cpython-39.pyc30190644editdlrm
site.cpython-39.opt-1.pyc170230644editdlrm
site.cpython-39.opt-2.pyc114870644editdlrm
site.cpython-39.pyc170230644editdlrm
smtpd.cpython-39.opt-1.pyc265370644editdlrm
smtpd.cpython-39.opt-2.pyc239170644editdlrm
smtpd.cpython-39.pyc265370644editdlrm
smtplib.cpython-39.opt-1.pyc358980644editdlrm
smtplib.cpython-39.opt-2.pyc195360644editdlrm
smtplib.cpython-39.pyc359430644editdlrm
sndhdr.cpython-39.opt-1.pyc70060644editdlrm
sndhdr.cpython-39.opt-2.pyc57310644editdlrm
sndhdr.cpython-39.pyc70060644editdlrm
socket.cpython-39.opt-1.pyc289890644editdlrm
socket.cpython-39.opt-2.pyc204500644editdlrm
socket.cpython-39.pyc290130644editdlrm
socketserver.cpython-39.opt-1.pyc255280644editdlrm
socketserver.cpython-39.opt-2.pyc148120644editdlrm
socketserver.cpython-39.pyc255280644editdlrm
sre_compile.cpython-39.opt-1.pyc149720644editdlrm
sre_compile.cpython-39.opt-2.pyc145580644editdlrm
sre_compile.cpython-39.pyc151670644editdlrm
sre_constants.cpython-39.opt-1.pyc63490644editdlrm
sre_constants.cpython-39.opt-2.pyc59240644editdlrm
sre_constants.cpython-39.pyc63490644editdlrm
sre_parse.cpython-39.opt-1.pyc217850644editdlrm
sre_parse.cpython-39.opt-2.pyc217370644editdlrm
sre_parse.cpython-39.pyc218220644editdlrm
ssl.cpython-39.opt-1.pyc450700644editdlrm
ssl.cpython-39.opt-2.pyc340860644editdlrm
ssl.cpython-39.pyc450700644editdlrm
stat.cpython-39.opt-1.pyc43850644editdlrm
stat.cpython-39.opt-2.pyc36020644editdlrm
stat.cpython-39.pyc43850644editdlrm
statistics.cpython-39.opt-1.pyc317970644editdlrm
statistics.cpython-39.opt-2.pyc159240644editdlrm
statistics.cpython-39.pyc319910644editdlrm
string.cpython-39.opt-1.pyc71780644editdlrm
string.cpython-39.opt-2.pyc60720644editdlrm
string.cpython-39.pyc71780644editdlrm
stringprep.cpython-39.opt-1.pyc99590644editdlrm
stringprep.cpython-39.opt-2.pyc97410644editdlrm
stringprep.cpython-39.pyc99990644editdlrm
struct.cpython-39.opt-1.pyc3190644editdlrm
struct.cpython-39.opt-2.pyc3190644editdlrm
struct.cpython-39.pyc3190644editdlrm
subprocess.cpython-39.opt-1.pyc443230644editdlrm
subprocess.cpython-39.opt-2.pyc322850644editdlrm
subprocess.cpython-39.pyc443990644editdlrm
sunau.cpython-39.opt-1.pyc168300644editdlrm
sunau.cpython-39.opt-2.pyc122400644editdlrm
sunau.cpython-39.pyc168300644editdlrm
symbol.cpython-39.opt-1.pyc25920644editdlrm
symbol.cpython-39.opt-2.pyc25160644editdlrm
symbol.cpython-39.pyc25920644editdlrm
symtable.cpython-39.opt-1.pyc111010644editdlrm
symtable.cpython-39.opt-2.pyc103720644editdlrm
symtable.cpython-39.pyc111790644editdlrm
sysconfig.cpython-39.opt-1.pyc160800644editdlrm
sysconfig.cpython-39.opt-2.pyc137020644editdlrm
sysconfig.cpython-39.pyc160800644editdlrm
tabnanny.cpython-39.opt-1.pyc70780644editdlrm
tabnanny.cpython-39.opt-2.pyc61450644editdlrm
tabnanny.cpython-39.pyc70780644editdlrm
tarfile.cpython-39.opt-1.pyc728220644editdlrm
tarfile.cpython-39.opt-2.pyc575640644editdlrm
tarfile.cpython-39.pyc728370644editdlrm
telnetlib.cpython-39.opt-1.pyc183440644editdlrm
telnetlib.cpython-39.opt-2.pyc108420644editdlrm
telnetlib.cpython-39.pyc183440644editdlrm
tempfile.cpython-39.opt-1.pyc236690644editdlrm
tempfile.cpython-39.opt-2.pyc171430644editdlrm
tempfile.cpython-39.pyc236690644editdlrm
textwrap.cpython-39.opt-1.pyc134760644editdlrm
textwrap.cpython-39.opt-2.pyc62670644editdlrm
textwrap.cpython-39.pyc135340644editdlrm
this.cpython-39.opt-1.pyc12720644editdlrm
this.cpython-39.opt-2.pyc12720644editdlrm
this.cpython-39.pyc12720644editdlrm
threading.cpython-39.opt-1.pyc417290644editdlrm
threading.cpython-39.opt-2.pyc245420644editdlrm
threading.cpython-39.pyc421940644editdlrm
timeit.cpython-39.opt-1.pyc117690644editdlrm
timeit.cpython-39.opt-2.pyc59150644editdlrm
timeit.cpython-39.pyc117690644editdlrm
token.cpython-39.opt-1.pyc25090644editdlrm
token.cpython-39.opt-2.pyc24760644editdlrm
token.cpython-39.pyc25090644editdlrm
tokenize.cpython-39.opt-1.pyc171500644editdlrm
tokenize.cpython-39.opt-2.pyc133860644editdlrm
tokenize.cpython-39.pyc171780644editdlrm
trace.cpython-39.opt-1.pyc197720644editdlrm
trace.cpython-39.opt-2.pyc167570644editdlrm
trace.cpython-39.pyc197720644editdlrm
traceback.cpython-39.opt-1.pyc204530644editdlrm
traceback.cpython-39.opt-2.pyc115000644editdlrm
traceback.cpython-39.pyc204530644editdlrm
tracemalloc.cpython-39.opt-1.pyc179480644editdlrm
tracemalloc.cpython-39.opt-2.pyc165350644editdlrm
tracemalloc.cpython-39.pyc179480644editdlrm
tty.cpython-39.opt-1.pyc10910644editdlrm
tty.cpython-39.opt-2.pyc9820644editdlrm
tty.cpython-39.pyc10910644editdlrm
types.cpython-39.opt-1.pyc92490644editdlrm
types.cpython-39.opt-2.pyc80270644editdlrm
types.cpython-39.pyc92490644editdlrm
typing.cpython-39.opt-1.pyc718180644editdlrm
typing.cpython-39.opt-2.pyc505700644editdlrm
typing.cpython-39.pyc719480644editdlrm
uu.cpython-39.opt-1.pyc38600644editdlrm
uu.cpython-39.opt-2.pyc36160644editdlrm
uu.cpython-39.pyc38600644editdlrm
uuid.cpython-39.opt-1.pyc224100644editdlrm
uuid.cpython-39.opt-2.pyc146970644editdlrm
uuid.cpython-39.pyc225230644editdlrm
warnings.cpython-39.opt-1.pyc131790644editdlrm
warnings.cpython-39.opt-2.pyc109040644editdlrm
warnings.cpython-39.pyc136180644editdlrm
wave.cpython-39.opt-1.pyc178570644editdlrm
wave.cpython-39.opt-2.pyc118650644editdlrm
wave.cpython-39.pyc178860644editdlrm
weakref.cpython-39.opt-1.pyc202840644editdlrm
weakref.cpython-39.opt-2.pyc169990644editdlrm
weakref.cpython-39.pyc202980644editdlrm
webbrowser.cpython-39.opt-1.pyc171300644editdlrm
webbrowser.cpython-39.opt-2.pyc147200644editdlrm
webbrowser.cpython-39.pyc171470644editdlrm
xdrlib.cpython-39.opt-1.pyc82560644editdlrm
xdrlib.cpython-39.opt-2.pyc77710644editdlrm
xdrlib.cpython-39.pyc82560644editdlrm
zipapp.cpython-39.opt-1.pyc59980644editdlrm
zipapp.cpython-39.opt-2.pyc48220644editdlrm
zipapp.cpython-39.pyc59980644editdlrm
zipfile.cpython-39.opt-1.pyc595630644editdlrm
zipfile.cpython-39.opt-2.pyc505750644editdlrm
zipfile.cpython-39.pyc595840644editdlrm
zipimport.cpython-39.opt-1.pyc171720644editdlrm
zipimport.cpython-39.opt-2.pyc136540644editdlrm
zipimport.cpython-39.pyc172500644editdlrm
_aix_support.cpython-39.opt-1.pyc30590644editdlrm
_aix_support.cpython-39.opt-2.pyc17040644editdlrm
_aix_support.cpython-39.pyc30590644editdlrm
_bootlocale.cpython-39.opt-1.pyc12300644editdlrm
_bootlocale.cpython-39.opt-2.pyc10050644editdlrm
_bootlocale.cpython-39.pyc12400644editdlrm
_bootsubprocess.cpython-39.opt-1.pyc22580644editdlrm
_bootsubprocess.cpython-39.opt-2.pyc20290644editdlrm
_bootsubprocess.cpython-39.pyc22580644editdlrm
_collections_abc.cpython-39.opt-1.pyc317440644editdlrm
_collections_abc.cpython-39.opt-2.pyc262540644editdlrm
_collections_abc.cpython-39.pyc317440644editdlrm
_compat_pickle.cpython-39.opt-1.pyc54480644editdlrm
_compat_pickle.cpython-39.opt-2.pyc54480644editdlrm
_compat_pickle.cpython-39.pyc55010644editdlrm
_compression.cpython-39.opt-1.pyc42110644editdlrm
_compression.cpython-39.opt-2.pyc39970644editdlrm
_compression.cpython-39.pyc42110644editdlrm
_markupbase.cpython-39.opt-1.pyc76390644editdlrm
_markupbase.cpython-39.opt-2.pyc72610644editdlrm
_markupbase.cpython-39.pyc77900644editdlrm
_osx_support.cpython-39.opt-1.pyc115950644editdlrm
_osx_support.cpython-39.opt-2.pyc89050644editdlrm
_osx_support.cpython-39.pyc115950644editdlrm
_pydecimal.cpython-39.opt-1.pyc1606260644editdlrm
_pydecimal.cpython-39.opt-2.pyc790090644editdlrm
_pydecimal.cpython-39.pyc1606260644editdlrm
_pyio.cpython-39.opt-1.pyc743800644editdlrm
_pyio.cpython-39.opt-2.pyc515830644editdlrm
_pyio.cpython-39.pyc744000644editdlrm
_py_abc.cpython-39.opt-1.pyc46470644editdlrm
_py_abc.cpython-39.opt-2.pyc34340644editdlrm
_py_abc.cpython-39.pyc46690644editdlrm
_sitebuiltins.cpython-39.opt-1.pyc35140644editdlrm
_sitebuiltins.cpython-39.opt-2.pyc29900644editdlrm
_sitebuiltins.cpython-39.pyc35140644editdlrm
_strptime.cpython-39.opt-1.pyc160280644editdlrm
_strptime.cpython-39.opt-2.pyc123000644editdlrm
_strptime.cpython-39.pyc160280644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-39.opt-1.pyc269610644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-39.opt-2.pyc269610644editdlrm
_sysconfigdata_d_linux_x86_64-linux-gnu.cpython-39.pyc269610644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-1.pyc270070644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-2.pyc270070644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.pyc270070644editdlrm
_threading_local.cpython-39.opt-1.pyc65190644editdlrm
_threading_local.cpython-39.opt-2.pyc31990644editdlrm
_threading_local.cpython-39.pyc65190644editdlrm
_weakrefset.cpython-39.opt-1.pyc77370644editdlrm
_weakrefset.cpython-39.opt-2.pyc77370644editdlrm
_weakrefset.cpython-39.pyc77370644editdlrm
__future__.cpython-39.opt-1.pyc41390644editdlrm
__future__.cpython-39.opt-2.pyc21670644editdlrm
__future__.cpython-39.pyc41390644editdlrm
__phello__.foo.cpython-39.opt-1.pyc1420644editdlrm
__phello__.foo.cpython-39.opt-2.pyc1420644editdlrm
__phello__.foo.cpython-39.pyc1420644editdlrm
Edit: /opt/alt/python39/lib64/python3.9/__pycache__/pydoc.cpython-39.opt-1.pyc (85441B)
a XC?h,@s*dZdgZdZdZdZddlZddlZddlZddl Zddl Zddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZddlmZdd lmZd d Zd d Z ddZ!ddZ"ddZ#ddZ$ddZ%ddZ&ddZ'ddZ(ddZ)d d!Z*e+d"ej,Z-d#d$Z.d%d&Z/d'd(Z0d)d*Z1dd+d,Z2d-d.Z3d/d0Z4d1d2Z5d3d4Z6ifd5d6Z7Gd7d8d8e8Z9d9d:Z:difd;d<Z;Gd=d>d>ZGdCdDdDeZ?GdEdFdFe<Z@GdGdHdHe@ZAdIdJaBdKdLZCdMdNZDdOdPZEdQdRZFdSdTZGdUdVZHdWdXZIdYdZZJdd[d\ZKe@ZLeAZMe>ZNdd]d^ZOdd`daZPddbdcZQddddeZRddgdhZSGdidjdjZTeTZUGdkdldlZVdmdnZWdodpZXddrdsZYddtdudvdwdxZZdydzZ[d{d|Z\d}d~Z]ddZ^e_dkr&e^dS)aGenerate Python documentation in HTML or text for interactive use. At the Python interactive prompt, calling help(thing) on a Python object documents the object, and calling help() starts up an interactive help session. Or, at the shell command line outside of Python: Run "pydoc " to show documentation on something. may be the name of a function, module, package, or a dotted reference to a class or function within a module or module in a package. If the argument contains a path segment delimiter (e.g. slash on Unix, backslash on Windows) it is treated as the path to a Python source file. Run "pydoc -k " to search for a keyword in the synopsis lines of all available modules. Run "pydoc -n " to start an HTTP server with the given hostname (default: localhost) on the local machine. Run "pydoc -p " to start an HTTP server on the given port on the local machine. Port number 0 can be used to get an arbitrary unused port. Run "pydoc -b" to start an HTTP server on an arbitrary unused port and open a Web browser to interactively browse documentation. Combine with the -n and -p options to control the hostname and port used. Run "pydoc -w " to write out the HTML documentation for a module to a file named ".html". Module docs for core modules are assumed to be in https://docs.python.org/X.Y/library/ This can be overridden by setting the PYTHONDOCS environment variable to a different URL or to a local directory containing the Library Reference Manual pages. helpzKa-Ping Yee z26 February 2001zGuido van Rossum, for an excellent programming language. Tommy Burnette, the original creator of manpy. Paul Prescod, for all his work on onlinehelp. Richard Chamberlain, for the first implementation of textdoc. N)deque)Repr)format_exception_onlycCs\g}g}tjD]H}tj|pd}tj|}||vrtj|r||||q|S)zAConvert sys.path into a list of absolute, existing, unique paths..)syspathosabspathnormcaseisdirappend)dirsZnormdirsdirZnormdirr*/opt/alt/python39/lib64/python3.9/pydoc.pypathdirsRs    rcCst|ot|tj SN)inspectZisclass isinstancetypes GenericAliasobjectrrr_isclass^srcCsNtj|j}|durdS|jdddD]}t||}q.t|sJdS|S)Nr)rmodulesget __module__ __qualname__splitgetattrr)funcclsnamerrr _findclassas r%c Cst|rH|jj}|j}t|r>tt||dd|jur>|}n|j}n"t|r||j}t |}|dusvt|||urzdSnt |r|j}|j}t|r|j d||j kr|}n|j}nt |t r|j}|j}t |}|dust|||urdSntt|st|rf|j}|j}t|||ur.dSt|rjt|dd}t |trj||vrj||SndS|jD]F}ztt||}WntyYqpYn0|durp|SqpdS)N__func__r __slots__)rismethodr&__name____self__rr! __class__ isfunctionr% isbuiltinrrpropertyfgetZismethoddescriptorisdatadescriptor __objclass__ismemberdescriptordict__mro__ _getowndocAttributeError)objr$selfr#r"slotsbasedocrrr_finddocksZ            r<cCsdzJt|d}|durWdS|turFt|j}t|trF||krFWdS|WSty^YdS0dS)zUGet the documentation string for an object if it is not inherited from its class.__doc__N)r__getattribute__typer=rstrr6)r7r;Ztypedocrrrr5s   r5c CsNt|}|dur6z t|}Wnttfy4YdS0t|tsDdSt|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)r5r<r6 TypeErrorrr@rZcleandoc)rr;rrr_getdocs  rBcCs,t|pt|}|r(tdd|p*dS)z-Get the doc string or comments for an object.z^ * )rBrZ getcommentsresubrstrip)rresultrrrgetdocsrHcCsf|d}t|dkr&|ddfSt|dkrX|dsX|dd|ddfSdd|fS)z>Split a doc string into a synopsis line (if any) and the rest. rrCN)stripr lenrFjoin)r;linesrrrsplitdocs   rPcCs"|j}|j|kr|jd|}|S)z@Get a class name and qualify it with a module name if necessary.r)r)r)rmodnamer$rrr classnames rRcCs<t|p8t|p8t|p8t|p8t|p8t| S)z>Check if an object is of a type that probably means it's data.)rismoduler isroutineZisframeZ istracebackZiscoderrrrisdatasrUcGs.|r*|d||d}|dd}q|S)z/Do a series of global replacements on a string.rJrrKN)rNr )textZpairsrrrreplacesrWcCsXt||krTtd|dd}td|d|}|d|d|t||dS|S)zCOmit part of a string if needed to make it fit in a maximum length.rrKN...)rMmax)rVmaxlenZpreZpostrrrcrams  $r\z at 0x[0-9a-f]{6,16}(>+)$cCs td|S)z>Remove the hexadecimal id from a Python object representation.z\1) _re_stripidrErVrrrstripidsr_cCs<t|rdSt|r8t|dd}t|p4|du SdS)zo Returns True if fn is a bound method, regardless of whether fn was implemented in Python or in C. Tr*NF)rr(r-r!rS)fnr8rrr_is_bound_methods    racCs^i}t|tjD]\}}d||<q|jD]}|t|q*|D]}t||||<qF|SNrJ)r getmembersrT __bases__update allmethodskeysr!)clmethodskeyvaluer:rrrrfs   rfcCs8g}g}|D]"}||r$||q ||q ||fS)zSplit sequence s via predicate, and return pair ([true], [false]). The return value is a 2-tuple of lists, ([x for x in s if predicate(x)], [x for x in s if not predicate(x)]) r )s predicateZyesZnoxrrr _split_lists  rpcCs\|dvr dS|dr$|dr$dS|dr__spec__r= __author____path____file__r __cached__ __loader__r' __package__ __version____date__r) __credits__r __builtins__r__rJ__fieldsTN) startswithendswithhasattr)r$allr7rrr visiblenamesrcCsXg}t|D]D\}}}}t|r@d}t|tr@|jdur@d}|||||fq|S)zCWrap inspect.classify_class_attrs, with fixup for data descriptors.data descriptorNreadonly property)rclassify_class_attrsr0rr.fsetr )rresultsr$kindr#rkrrrr)s rcsZt|dgzfddtDWnty<iYn0fdd}|j|ddS)zGSort the attrs list in-place by _fields and then alphabetically by namer~csi|]\}}||tqSr)rM).0ir$)fieldsrr :z#sort_attributes..cs|dd|dfSNr)r)attr) field_orderrr=rz!sort_attributes..rjN)r! enumeraterAsort)attrsrZkeyfuncr)rrrsort_attributes4s    rcCs:tj|r6dD]$}tjtj|d|rdSqdS)z3Guess whether a path refers to a package directory.)z.pyz.pyc__init__TF)r rr isfilerN)rextrrr ispackageBs  rcCs|}|dddks |s0|}|sq0q|}|dddkrT|dd}|dddkr|dd}|dddkr|dd}|s|}|sqq|dd }nd}|S) NrJ#zr"""rX"""r\r)readlinerLr )filelinerGrrrsource_synopsisJs rc Cs2t|j}||d\}}|dus.||kr.|ttjjrJtjj }n |ttjj rftjj }nd}|durzt |}WntyYdS0|t|}Wdn1s0Yn^|d|}tjjd||d}ztj|} WnYdS0tjd=| jr| jdnd}||f||<|S)z.Get the one-line summary out of a module file.)NNNZ__temp__loaderr)r statst_mtimerrtuple importlib machineryBYTECODE_SUFFIXESSourcelessFileLoaderEXTENSION_SUFFIXESExtensionFileLoadertokenizeopenOSErrorrutilspec_from_file_location _bootstrap_loadrrr= splitlines) filenamecachemtimeZ lastupdaterGZ loader_clsrrspecmodulerrrsynopsis[s6    (   rc@s eZdZdZddZddZdS)ErrorDuringImportzEErrors that occurred while trying to import something to document it.cCs||_|\|_|_|_dSr)rexcrktb)r8rexc_inforrrrszErrorDuringImport.__init__cCs|jj}d|j||jfS)Nzproblem in %s - %s: %s)rr)rrk)r8rrrr__str__szErrorDuringImport.__str__N)r)rrr=rrrrrrrsrc Cstjj}t|d"}||t|k}Wdn1s:0Ytj|}tj |\}}|rttj ||}ntj ||}tjj |||d}ztj|WSt|tYn0dS)z|turt|j| n(t |t r|j krYdSttYn0 dddD],} zt || }WqtyYdS0q|S)aImport a module; handle errors; return None if the module isn't found. If the module *is* found but an exception occurs, it's wrapped in an ErrorDuringImport exception and reraised. Unlike __import__, if a package path is specified, the module at the end of the path is returned, not the package at the beginning. If the optional 'forceload' argument is 1, we reload the module from disk (unless it's a dynamic extension).csg|]}|dr|qS)r)r)rmrrr rzsafeimport..NrrJ)rrbuiltin_module_names __import__rrrt SyntaxErrorr issubclass ImportErrorr$r r!r6) r forceloadrZsubsrjrrrkrinfopartrrr safeimports*    rc@sfeZdZejddejddZd ddZ d ddZ e Z Z Z ZZZed fd d ZdS)Doc PYTHONDOCSz%https://docs.python.org/%d.%d/libraryNrKcGs||f|}zDt|r$|j|WSt|r8|j|WSt|rN|j|WSWntybYn0t|rx|j |S|j |S)z%Generate documentation for an object.) rrS docmodulerdocclassrT docroutiner6r0docdatadocother)r8rr$argsrrrdocuments  z Doc.documentcGs*d|odt|t|jf}t|dS)z+Raise an exception for unimplemented types.z.don't know how to document object%s of type %s N)reprr?r)rA)r8rr$rmessagerrrfailszDoc.failZstdlibcCszt|}Wnty$d}Yn0tjd|j}tj|}t |t tr|j dvsx| |r| tj |ds|j dvr| drd|d|j f}qtj ||j d }nd }|S) z*Return the location of module docs or None (built-in)r) errno exceptionsZgcZimpmarshalposixsignalr_threadZ zipimportz site-packages)z xml.etreeztest.pydoc_mod)zhttp://zhttps://z%s/%s/.htmlN)r getabsfilerAr environrrrr rr?r)rrNrFlower)r8rZbasedirrdoclocrrr getdoclocs(    z Doc.getdocloc)N)N)r)rrr rrr version_inforrrrrrr docpropertyr sysconfigZget_pathrrrrrrs   rc@sHeZdZdZddZddZddZdd Zd d ZeZ d d Z eZ dS)HTMLReprzBClass for safely making an HTML representation of a Python object.cCs,t|d|_|_d|_d|_|_dSN drrmaxlistmaxtuplemaxdict maxstringmaxotherr8rrrr s  zHTMLRepr.__init__cCst|ddddddS)N&z&z>)rWr8rVrrrescapeszHTMLRepr.escapecCs t||Sr)rrr8rrrrrsz HTMLRepr.reprcCsZtt|dr@ddt|j}t||r@t||||S|ttt ||j SNr)repr_r}) rr?rNr)r r!rr\r_rrr8rolevelZ methodnamerrrrepr1s  zHTMLRepr.repr1cCs^t||j}t|}d|vrJdt|ddvrJd|d|||dStdd||S)Nr\\rCrrz-((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)z\1)r\rrrWrrDrEr8ror testZtestreprrrr repr_strings zHTMLRepr.repr_stringcCs@z|ttt||jWS|d|jjYS0dSNz <%s instance>)rr\r_rrr+r)r8ror rrr repr_instance*szHTMLRepr.repr_instanceN) r)rrr=rrrr rrepr_strrZ repr_unicoderrrrrs rc@seZdZdZeZejZejZddZd1ddZ d2d d Z d d Z ddZ d3ddZ ddZddZddZddZddZddZdiiifdd Zd4d!d"Zd5d#d$Zddiifd%d&Zd'd(Zddiiidfd)d*Zd6d+d,ZeZd7d-d.Zd8d/d0ZdS)9HTMLDocz'Formatter class for HTML documentation.cCs d||fS)Format an HTML page.z Python: %s %s r)r8titlecontentsrrrpage;sz HTMLDoc.pagerCcCsd|||||pdfS)zFormat a page heading.a'
 
 
%s
%s
 r)r8rfgcolbgcolZextrasrrrheadingEszHTMLDoc.headingNrc Cs^|durdd|d}d|||f} |r@| d||||f} n| d|||f} | d|S) z Format a section with a heading.Nzrzz

zR z( z'
 
%s
%s %s
%s
%s%s%s
r) r8rrrrwidthZpreludeZ marginaliaZgaprGrrrsectionPs zHTMLDoc.sectioncGsd|}|j|g|RS)z$Format a section with a big heading.z%s)r )r8rrrrr bigsectionfszHTMLDoc.bigsectionc Cs&||}t|dddddddd S)z!Format literal preformatted text. z rrrI
)r expandtabsrWrrrr preformatks zHTMLDoc.preformatrcCsd}t||d|}t|D]X}|dd|}t|||||D]$}|t|krJ||||d}qJ|d}q d|S)z0Format a list of items into a multi-column list.rCrJzrr#zz7%s
)rMrange)r8listformatZcolsrGrowscolrrrr multicolumnqs   zHTMLDoc.multicolumncCsd|S)Nz%srrrrrgrey}rz HTMLDoc.greycGs*|D] }||vrd|||fSq|S)z:Make a link for an identifier, given name-to-URL mappings.%sr)r8r$Zdictsr3rrrnamelinkszHTMLDoc.namelinkcCsN|jtj|j}}t||rDt|||urDd|j|t||fSt||S)zMake a link for a class.z%s)r)rrrrrr!rR)r8rrQr$rrrr classlinks zHTMLDoc.classlinkcCsd|j|jfS)zMake a link for a module.%s)r)rrrr modulelinkszHTMLDoc.modulelinkcCsR|\}}}}|r||S|r,d||f}nd|}|rBd|}n|}d||fS)z;Make a link for a module or package to display in an index.z %s.%s.htmlz%s.htmlz"%s (package)r-)r,)r8Z modpkginfor$rrshadowedurlrVrrr modpkglinks   zHTMLDoc.modpkglinkcCs d||fS)zMake a link to source file.z%sr)r8r3rrrrfilelinkszHTMLDoc.filelinkcCs|p|j}g}d}td}|||} | s0qh| \} } ||||| | \} } }}}}| r|| dd}|d||fn|rdt|}|d||| fn|rdt|}|d||| fn|r"|| | dd kr|d | ||n|d |n@|| | dd krP|| ||||n|| ||| }q||||d d |S)zMark up some plain text, given a context of symbols to look for. Each context dictionary maps object names to anchor names.rzJ\b((http|https|ftp)://\S+[\w/]|RFC[- ]?(\d+)|PEP[- ]?(\d+)|(self\.)?(\w+))"z"r-z'http://www.rfc-editor.org/rfc/rfc%d.txtz)https://www.python.org/dev/peps/pep-%04d/rJ(zself.zself.%sNrC) rrDcompilesearchspanr groupsrWintr.rN)r8rVrfuncsclassesrirherepatternmatchstartendrZschemeZrfcZpepZselfdotr$r3rrrmarkups8      zHTMLDoc.markupc Csd}|D]}t|tdur|\}}|d}||||}|r||fkrg}|D]} ||| |qR|dd|d}|d}qt|tgur|d||||}qd |S) zAProduce HTML for a class tree as given by inspect.getclasstree().rCrz"
r7, )z
z
%s
z
%s
)r?r/r rN formattree) r8treerQparentrGentrycbasesparentsr:rrrrGs"  zHTMLDoc.formattreec# s|j}z |j}Wnty&d}Yn0|d}g}tt|dD],}|dd|d|d||fqFd||dd} d| } z&t |} t j | } | | } Wntyd} Yn0g}t|dr2t|j}|dd d kr|ddd kr|d d}|d |t|d rT|t|j|rl| dd|} |}|durdt}nd}| ddd| |}t|tj}gi}}t|tD]Z\}}|dust|p||urt|||r|||fd|||<||<q|D]\}}|jD]n}|j|j}}tj !|}||kr:|r:t||r:t"|||ur:||vr:|d|||<||<q:q,gi}}t|tj#D]p\}}|dust$|st||urt|||r|||fd|||<t%|r||||<qg}t|t&D]&\}}t|||rH|||fqH't(|j)||}|od|}|d|}t|drg}t*+|j,D]\}}} |||| dfq|-.|j/}!|0ddd|!}n.|r6.|fdd}!|0d dd|!}|rd!d"|D}"1t2|"d|g}!|D]"\}}|!3|||||qd|0d#dd$d%|!}|rg}!|D]"\}}|!3|||||q|0d&dd'd%|!}|r4g}!|D]\}}|!3||q|0d(dd)d*|!}t|d+rh't|j4j)}!|0d,dd|!}t|d-r't|j5j)}!|0d.dd|!}|S)/z/Produce HTML documentation for a module object.NrrJz5%sr)%srrx $Revision: $z version %sryz (%s)rEz-
Module ReferencerC#ffffff#7799eezindex
rz.html#z#-z %sz

%s

rsrzPackage Contentsz#aa55cccs|dSrb)r1trrrr9rz#HTMLDoc.docmodule..ZModulescSsg|] \}}|qSrrrrjrkrrrr>rz%HTMLDoc.docmodule..ZClasses#ee77aarZ Functionsz#eeaa77ZDataz#55aa55r#rrZAuthorrzZCredits)6r)__all__r6r r&rMr rNrrurllibparseZquoter5rArr@rxrLrryrlocalsrrcrSr getmodulerrdrrrrr!rTr-r,rUrDrHr%pkgutil iter_modulesrsrr+r4r!rG getclasstreerrrrz)#r8rr$modignoredrpartsZlinksrZ linkednameheadrr3r5rversionrrGrr>Zcdictrjrkr:rQrr=Zfdictdatar;modpkgsimporterispkgr classlistrrrrs          $                        zHTMLDoc.docmodulec sj}|p |}j}g} | jGfddd} | tt} t| dkrd| D]} d| j qddfdd} fd d }fd d }fd dt D}i|D]j\}}}}d|d||<}zt |}Wnt y2Yn0z ||<Wqt yTYq0q|rf| rn| n |ddt|fdd\}}tjurtjur|}qXn"urd}ndj }|d7}t|| d||dd}| d||dd}| d||dd}|d||dd}|d||d d}|d!||d"d}|}qXd#| } ||krd$||f}nd%|||f}|rg}|D]} || j q|d&d'|}d#}zt}Wntt fyd(}Yn0|r2t|}|r2|d)kr2||d*}t}|rN||pJd#}|j}|ond+|}|d,d-| d.|S)/z.Produce HTML documentation for a class object.cs eZdZddZfddZdS)z(HTMLDoc.docclass..HorizontalRulecSs d|_dSrZneedonerrrrrhsz1HTMLDoc.docclass..HorizontalRule.__init__cs|jrdd|_dS)Nz
rJrjrpushrrmaybejsz.HTMLDoc.docclass..HorizontalRule.maybeNr)rrrrmrrkrrHorizontalRulegsrorKz&
Method resolution order:
z
%s

c st||\}}|r||D]b\}}}}zt|}Wn$tyd||Yn0||dq&|S)NrIrprmr! Exceptionrrmsgrrnokr$rhomeclsrkr>r=hrmdictr`rrlr8rrspillzs   zHTMLDoc.docclass..spillcsJt||\}}|rF||D]\}}}}||q&|Srrprmrrsrxr`rlr8rrspilldescriptorssz*HTMLDoc.docclass..spilldescriptorsc st||\}}|r||D]r\}}}}t||}t|} | s`d|n0t|j} d| } d|| fdq&|S)Nz
%s
z
%sz
%s%s
rI)rprmrr!rHrDr%) rtrrnrur$rrvrkr:r;rwrr spilldatas  z#HTMLDoc.docclass..spilldatacs,g|]$\}}}}t|dr||||fqS)r7rrr$rr#rkrrrrs  z$HTMLDoc.docclass..r-rcs |duSNrKrrT thisclassrrrrz"HTMLDoc.docclass.. defined hereinherited from %sz:
z Methods %scSs |ddkSNrJmethodrrTrrrrrzClass methods %scSs |ddkSNrJz class methodrrTrrrrrzStatic methods %scSs |ddkSNrJz static methodrrTrrrrrzReadonly properties %scSs |ddkSNrJrrrTrrrrrzData descriptors %scSs |ddkSNrJrrrTrrrrrzData and other attributes %scSs |ddkSNrJrerrTrrrrrrCz*class %sz/%s = class %s(%s)rEN()r"z%s
 
z#000000z#ffc8d8rX)r)rdr rrgetmrorMrmr/rrr!rrrApopleftrpbuiltinsrrrN signature ValueErrorr@rrHrDr%r )r8rr$r`r=r>rarealnamerLrromror:rzr}r~rrjrrvrkanchor inheritedtagrrMdeclrargspecr;r) r>r=rxryr`rrlr8rrr\s                   zHTMLDoc.docclasscCs|d||Sz)Format an argument default value as text.=)r,rrrrr formatvalueszHTMLDoc.formatvaluec Cs|j}|p |}|r|jpdd|} d} d} t|r|jj} |rZ| |urd|| |} n0|jdurzd||jj|} nd|| |} t|st|rd} nd} ||krd | |f}nD|rt||g|urd |jd||f}d } n|}d | ||f}d}t |rjzt |}Wnt t fy<d}Yn0|rjt |}|d krjd|}|d d}|std}| |||| o|d| }| rd|S|t||j|||}|od|}d||fSdS)z;Produce HTML documentation for a function or method object.rCrr from N method of %s instance unbound %s methodasync z$%sz%srJz)%s = %sz$%s lambda r(...)z'%sz
%s
z
%s
z
%s
%s
)r)rar*r+r/riscoroutinefunctionisasyncgenfunctiongetattr_staticrTrrrAr@rr,rDrHr%)r8rr$r`r=r>rirhrrnoteskipdocsimclassasyncqualifierrZreallinkrrrr;rrrrsl       zHTMLDoc.docroutinecCsNg}|j}|r|d||t||j}|r<|d||dd|S)z1Produce html documentation for a data descriptor.z!
%s
z
%s
rprC)r rDrHr%rNr8rr$r`rhrrlr;rrrrCs  zHTMLDoc.docdatacGs|r d|pd}|||S)z-Produce HTML documentation for a data object.z%s = rCr)r8rr$r`raZlhsrrrrSszHTMLDoc.docothercCsg}|duri}t|gD]<\}}}tdd|Dr:q||d|||vfd||<q||||j}||dd|S)z2Generate an HTML index for a directory of modules.Ncss*|]"}dt|kodknVqdS)iiN)ordrZchrrr ]rz HTMLDoc.index..rCrJrRrW)r]r^anyr rr+r4r!)r8rr2rfrgr$rhrrrrindexXs  z HTMLDoc.index)rC)rrCNr)r)N)NN)NNN)NN)N)r)rrr=r_repr_instancerrrrr r!r%r+r,r.r/r1r4r5rDrGrrrrrrrrrrrrr2s>   +  y# A  rc@s4eZdZdZddZddZddZeZdd Zd S) TextReprzAClass for safely making a text representation of a Python object.cCs,t|d|_|_d|_d|_|_dSrrrrrrrks  zTextRepr.__init__cCsTtt|dr@ddt|j}t||r@t||||Sttt||j Sr) rr?rNr)r r!r\r_rrr rrrr qs  zTextRepr.repr1cCsHt||j}t|}d|vrDdt|ddvrDd|d||dS|S)Nrr rCr r)r\rrrWrrrrrxs  zTextRepr.repr_stringcCs4zttt||jWSd|jjYS0dSr)r\r_rrr+r)rrrrrszTextRepr.repr_instanceN) r)rrr=rr rrrrrrrris  rc@s~eZdZdZeZejZddZdddZddZ dd d Z dd dZ dddZ ddZ dddZdddZeZdddZd S) TextDocz'Formatter class for text documentation.cCsddd|DS)z(Format a string in bold by overstriking.rCcss|]}|d|VqdS)NrrrrrrrzTextDoc.bold..)rNrrrrboldsz TextDoc.bold cs>|sdSfdd|dD}|r4|d|d<d|S)z6Indent text by prepending a given prefix to each line.rCcsg|] }|qSrrrrprefixrrrrz"TextDoc.indent..rIr)r rFrN)r8rVrrOrrrindentszTextDoc.indentcCs$||}||d|dS)z&Format a section with a given heading.rIr")rrFr)r8rrZclean_contentsrrrr szTextDoc.sectionNrCc sd}|D]}t|tdurr|\}}||t|}|rh||fkrhfdd|D} |dd| }|d}qt|tgur|||||d}q|S) zBRender in text a class tree as returned by inspect.getclasstree().rCrc3s|]}t|VqdSrrR)rrKrQrrrrz%TextDoc.formattree..rrErIr)r?rRrNrG) r8rHrQrIrrGrJrKrLrMrrrrGs  zTextDoc.formattreec Cs|j}tt|\}}|d||o(d|}t|dd}||}|dur`||d|d}|rt||d|}g} t|tD]<\} } |dust | p||urt | ||r| | | fqg} t|tj D]B\} } |dust | st | |urt | ||r| | | fqg} t|tD]&\} } t | ||r(| | | fq(g}t}t|drt|jD]6\}}}|||r| |d n | |qr|||d d |}g}t|tjD]0\} } | j|d r| |vr| | q|r0|||d d |}| rdd| D}|t|d|g}| D]\} } | || | |q^||dd |}| rg}| D]\} } | || | |q||dd |}| r g}| D]"\} } | |j| | |ddq||dd |}t|drzt|j}|dddkrj|dddkrj|dd}||d|}t|dr||dt|j }t|dr||dt|j!}t|d r||d!t|j"}zt#|}Wnt$yd"}Yn0||d#|}|S)$z5Produce text documentation for a given module object.NAME - rXNzMODULE REFERENCEa. The following documentation is automatically generated from the Python source files. It may be incomplete, incorrect or include features that are considered implementation detail and may vary between Python implementations. When in doubt, consult the module reference at the location listed above. Z DESCRIPTIONrs (package)zPACKAGE CONTENTSrIrZ SUBMODULEScSsg|] \}}|qSrrrVrrrrrz%TextDoc.docmodule..rJCLASSES FUNCTIONSF)r[ZDATArxrOrPrrQZVERSIONryZDATErrZAUTHORrzZCREDITSrZFILE)%r)rPrHr r!rrrcrr\rr rTr-rUsetrr]r^rsaddrrNrSrrGr_rrr@rxrLryrrrzrrA)r8rr$r`ZsynopdescrGrrr>rjrkr=rerfZ modpkgs_namesrgrQrhZ submodulesrirrdrrrrrs                $    zTextDoc.docmodulec sJj}|p |}j}jfdd}||kr:d|}n|d|}|rlt||} |dd| }g} | jzt} Wnt t fyd} Yn0| rt | } | r| dkrȈ|| d t } | r| d t t}t|d kr(d |D]}d ||qd tddtDt jd}t|}d}|rd|d|D]}d |ql||krdt ||dd Gfddd}|fdd}fdd}fdd}fddtD}|r|r(|n |dd t|fd d!\}}tjurltjurl|}qn ur|d"}nd#tj}t||d$||d%d!}|d&||d'd!}|d(||d)d!}|d*||d+d!}|d,||d-d!}|d.||d/d!}|}qd | } | s.|d S|d | d0d S)1z4Produce text documentation for a given class object.cSs t||Srr)rKrrrrmakenamesz"TextDoc.docclass..makenameclass z = class rrENrrIrKzMethod resolution order:rrCcss.|]&}|jds|jdkrt|jVqdS)r}rN)r)rrr@)rr#rrrrCsz#TextDoc.docclass..rrzBuilt-in subclasses:z ... and z other subclassescs eZdZddZfddZdS)z(TextDoc.docclass..HorizontalRulecSs d|_dSrrjrrrrrUsz1TextDoc.docclass..HorizontalRule.__init__cs|jrdd|_dS)NzF----------------------------------------------------------------------rJrjrrkrrrmWsz.TextDoc.docclass..HorizontalRule.maybeNrnrrkrrroTsroc st||\}}|r|||D]T\}}}}zt|}Wn$tyd||Yq&0||q&|Srrqrsrxr`rrlr8rrrz]s zTextDoc.docclass..spillcsJt||\}}|rF||D]\}}}}||q&|Srr{rsr|rrr}nsz*TextDoc.docclass..spilldescriptorsc st||\}}|r||D]\\}}}}t|}zt|} Wntyd|j|} Yn0j| |d|ddq&|S)Nr)r[r;rI)rprmrHr!r6__dict__r) rtrrnrur$rrvrkr;r7rrrr~ws z#TextDoc.docclass..spilldatacs,g|]$\}}}}t|dr||||fqSrrrrrrrs  z$TextDoc.docclass..rcs |duSrrrTrrrrrz"TextDoc.docclass..rrz Methods %s: cSs |ddkSrrrTrrrrrzClass methods %s: cSs |ddkSrrrTrrrrrzStatic methods %s: cSs |ddkSrrrTrrrrrzReadonly properties %s: cSs |ddkSrrrTrrrrrzData descriptors %s: cSs |ddkSrrrTrrrrrzData and other attributes %s: cSs |ddkSrrrTrrrrrz | )r)rdrrmaprNr rrrrAr@rHrrrMsortedr?__subclasses__rrrrprrrRrrrF)r8rr$r`rarrLrrrMrrrr;rr:Z subclassesZno_of_subclassesZMAX_SUBCLASSES_TO_DISPLAYZ subclassnamerorzr}r~rrrr)rxr`rrlr8rrrs                   zTextDoc.docclasscCsd||SrrrrrrrszTextDoc.formatvaluec Cs|j}|p |}d}d}t|rn|jj}|rB||urndt||}n,|jdur`dt|jj|}ndt||}t|st|rd} nd} ||kr||} n,|rt ||g|urd}||d |} d} t |r:zt |} Wnt t fyd} Yn0| r:t| } |d kr:||d } | dd } | sDd } | | | |} |rb| dSt|pnd}| d|o||dSdS)z;Produce text documentation for a function or method object.rCrrNrrrrJ = rz lambda rrrI)r)rar*r+rRrrrrrrTrrrAr@rHrrF)r8rr$r`rhrrrrrrrrrr;rrrrsT       zTextDoc.docroutinecCsTg}|j}|r$||||dt|p.d}|rJ||||dd|S)z1Produce text documentation for a data descriptor.rIrC)r rrHrrNrrrrrs zTextDoc.docdatac Cs||}|rF|r|dpd|}|t|} | dkrF|d| d}|rX||dpZd|}|slt|}|r|d|t|d7}|S)z-Produce text documentation for a data object.rrCrNrYrI)rrMrrHrr@) r8rr$r`rIr[r;rrZchoprrrrs  zTextDoc.docother)r)NrC)NN)NN)NNN)NNN)NNNNN)r)rrr=rrrrrr rGrrrrrrrrrrrrs   e  7 rc@seZdZdZddZdS) _PlainTextDocz2Subclass of TextDoc which overrides string stylingcCs|Srrrrrrr sz_PlainTextDoc.boldN)r)rrr=rrrrrr srcCstat|dS)zCThe first time this is called, determine what kind of pager to use.N)getpagerpagerr^rrrrsrc sZttjdstSttjds tStjr4tjs8tStjdpNtjdrtj dkrjfddStjddvrfd dSfd dStjddvrtStj dkrd dSttd rt d dkrddSddl }| \}}t |zRttd r,t d|dkr,ddWt|StWt|SWt|n t|0dS)z2Decide what method to use for paging through text.isattyZMANPAGERZPAGERwin32cstt|Sr tempfilepagerplainr^Z use_pagerrrr#rzgetpager..ZTERM)ZdumbZemacscstt|Sr) pipepagerrr^rrrr%rcs t|Srrr^rrrr'rcSstt|dS)Nzmore /dev/nullrcSs t|dS)NZlessrr^rrrr-rNz more "%s"cSs t|dS)NZmorerr^rrrr4r)rrstdin plainpagerstdoutrr rrplatformrtempfileZmkstempcloseunlinkttypager)rfdrrrrrs>            rcCstdd|S)z%Remove boldface formatting from text.z.rC)rDrEr^rrrr:src Csddl}|j|d|jd}zVtj|jdd2}z||WntyNYn0Wdn1sd0YWntyYn0z| WqWqtyYq0qdS)z3Page through text by feeding it to another program.rNT)shellrbackslashreplace)errors) subprocessPopenPIPEio TextIOWrapperrwriteKeyboardInterruptrwait)rVcmdrprocpiperrrr>s (  rc Csddl}|}tj|d}t|ddtjdkr.cSstjddddS)NrrJ)rrrrrrrrqrZLINESrJz -- more --)qQz ) rI)bB)rrr ttyrrfilenoZ tcgetattrZ setcbreakrr6rUnsupportedOperationr<r rrrrrrNflushZ tcsetattrZ TCSAFLUSH) rVrOrroldZgetcharhr ZincrKrrrrfsN              & rcCstjtt|dS)z>Simply print unformatted text. This is the ultimate fallback.N)rrrrrr^rrrrsrcCst|r>|jtjvr d|jSt|dr4d|jSd|jSt|rRd|jSt|rtd|jj |jj|jfSt |rd|jj |jj|jfSt |rd|jSt |rd |jSt |rd |jSt|jS) z/Produce a short description of the given thing.zbuilt-in module rszpackage zmodule zbuilt-in function zgetset descriptor %s.%s.%szmember descriptor %s.%s.%srz function zmethod )rrSr)rrrr-Zisgetsetdescriptorr1rr2rr,r(r?)thingrrrdescribes2                 r c Csdd|dD}d\}}|t|kr\td|d|d|}|r\||d}}qq\q|rf|}nt}||dD]*}zt||}WqvtyYdS0qv|S)z@Locate an object by name or dotted path, importing as necessary.cSsg|] }|r|qSrr)rrrrrrrzlocate..rrNrJ)r rMrrNrr!r6)rrrbrnZ nextmodulerrrrrlocates   r cCsVt|tr0t||}|dur(td|||fSt|dd}|t|trL|ndfSdS)zDGiven an object or a path to an object, get the object and its name.Nz~No Python documentation found for %r. Use help() to get the interactive help utility. Use help(str) for help on the str class.r))rr@r rr!)rrrr$rrrresolves   r  Python Library Documentation: %scCs|dur t}t||\}}t|}t|}|rTd|vrT|d|d|d7}n|rn||urn|d|j7}t|st|st |st |st |st |dr|j }nt|}|d7}||d|||S)zBRender text documentation, given an object or a path to an object.Nrz in z in module __origin__z objectr")rVr r rr\rfindr)rSrrTr0rBrrr?r)rrrZrendererrr$rrrrr render_docs.     rc Cshz2|durtt|||n|t|||tWn0ttfyb}zt|WYd}~n d}~00dS)zCDisplay text documentation, given an object or a path to an object.N)rrr plaintextrrprint)rrroutputrkrrrr;s r;c Csztt||\}}tt|t||}t|dddd}||Wdn1sZ0Ytd|dWn0tt fy}zt|WYd}~n d}~00dS)zd?d@dAdBdCdDdEdFdGdHdIdJdKdLdLdMdNdOdPdQddRdSdSdTdUdVdWdXdYdZd[d\d]d^d_d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{dd d|d}d~ddIZ dddZ eddZeddZddZeZefddZddZddZddZddZdddZddZddZddZdddZdddZddZdddZ dS)HelperrCBOOLEANwith)assertrC)asyncrC)awaitrC)break while for)classzCLASSES SPECIALMETHODS)continuer )ZfunctionrC)del BASICMETHODSif)elser try)forzbreak continue whileimport)globalznonlocal NAMESPACES)r% TRUTHVALUE)r)MODULES)inSEQUENCEMETHODS COMPARISON)lambdar)nonlocalzglobal NAMESPACES)passrC)raise EXCEPTIONS)returnr)r'r4)whilezbreak continue if TRUTHVALUE)rz CONTEXTMANAGERS EXCEPTIONS yield)yieldrC)$FalseNoneTrue__peg_parser__andasrrrrr!r"defr#elifr&exceptfinallyr(fromr*r%r)r-isr0r1notorr2r3r5r'r6rr7cCsg|]}dD] }||q qS)'r6r)rprrrrrErzHelper.)rfr urGz'''r6r)+r***rz//%<<>>r|^~rr<=>===!=<>)rrrTrUrVrWrX)rrS) z+=z-=z*=z/=z%=z&=z|=z^=z<<=z>>=z**=z//=)rOrPrrQrRrS)jJ)STRINGS OPERATORSr/UNARYAUGMENTEDASSIGNMENTBITWISECOMPLEXzOPERATORS FORMATTINGPOWERzTUPLES LISTS FUNCTIONSz ATTRIBUTES FLOAT MODULES OBJECTSELLIPSISzSLICINGS DICTIONARYLITERALSz def classr[ PRIVATENAMESzPRIVATENAMES SPECIALMETHODSZ BACKQUOTESzTUPLES FUNCTIONS CALLSzLISTS SUBSCRIPTS SLICINGS)rNrM,rrY:@rr}r|`r7rF[]r)rzRSTRINGS UNICODE NUMBERS SEQUENCES MAPPINGS FUNCTIONS CLASSES MODULES FILES inspect)stringsz4str UNICODE SEQUENCES STRINGMETHODS FORMATTING TYPES)zstring-methodszSTRINGS FORMATTING)Z formatstringsr\)rjz:encodings unicode SEQUENCES STRINGMETHODS FORMATTING TYPES)ZnumberszINTEGER FLOAT COMPLEX TYPES)Zintegersz int range)Zfloatingz float math)Z imaginaryz complex cmath)Ztypesseqz$STRINGMETHODS FORMATTING range LISTS DICTIONARIES)Ztypesfunctionsz def TYPES)Z typesmethodszclass def CLASSES TYPES)zbltin-code-objectszcompile FUNCTIONS TYPES)zbltin-type-objectsz types TYPESTYPES)zbltin-null-objectrC)zbltin-ellipsis-objectSLICINGS)Z specialattrsrC)rz!class SPECIALMETHODS PRIVATENAMES)Z typesmodulesr))zoperator-summaryzlambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIES EXPRESSIONS)Zobjectsrl)Z specialnameszbBASICMETHODS ATTRIBUTEMETHODS CALLABLEMETHODS SEQUENCEMETHODS MAPPINGMETHODS NUMBERMETHODS CLASSES)Z customizationzhash repr str SPECIALMETHODS)zattribute-accesszATTRIBUTES SPECIALMETHODS)zcallable-typeszCALLS SPECIALMETHODS)sequence-typesz(SEQUENCES SEQUENCEMETHODS SPECIALMETHODS)rozMAPPINGS SPECIALMETHODS)z numeric-typesz*NUMBERS AUGMENTEDASSIGNMENT SPECIALMETHODS)Z execmodelz%NAMESPACES DYNAMICFEATURES EXCEPTIONS)Znamingz3global nonlocal ASSIGNMENT DELETION DYNAMICFEATURES)zdynamic-featuresrC NAMESPACES)rztry except finally raise)Z conversionsrC)Z identifierszkeywords SPECIALIDENTIFIERS)z id-classesrC)zatom-identifiersrC)z atom-literalsz=STRINGS NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALS SEQUENCES)Z exprlistszTUPLES LITERALS)ztypesseq-mutable LISTLITERALS)ZlistszLISTS LITERALS)Z typesmappingDICTIONARYLITERALS)r3zDICTIONARIES LITERALS)zattribute-referencesz(getattr hasattr setattr ATTRIBUTEMETHODS)Z subscriptionsr.)Zslicingsr.)Zcallsrn)Zpowerrn)Zunaryrn)Zbinaryrn)Zshiftingrn)Zbitwisern)Z comparisonszEXPRESSIONS BASICMETHODS)ZbooleanszEXPRESSIONS TRUTHVALUEr)Z assignmentr^)Z augassign NUMBERMETHODSr#r5)Zcompoundzfor while break continue)truthz if while and or not BASICMETHODS)ZdebuggerZpdb)zcontext-managersr)Irlr[Z STRINGMETHODSZ FORMATTINGUNICODEZNUMBERSZINTEGERZFLOATr`rqZMAPPINGSrZMETHODSZ CODEOBJECTSZ TYPEOBJECTSZ FRAMEOBJECTSZ TRACEBACKSZNONErbZSPECIALATTRIBUTESrr,ZPACKAGESrnr\Z PRECEDENCEZOBJECTSZSPECIALMETHODSr$ZATTRIBUTEMETHODSZCALLABLEMETHODSr.ZMAPPINGMETHODSrtZ EXECUTIONrpZDYNAMICFEATURESZSCOPINGZFRAMESr4Z CONVERSIONSZ IDENTIFIERSZSPECIALIDENTIFIERSrcZLITERALSZTUPLESZ TUPLELITERALSZLISTSrrrkrsZ ATTRIBUTESZ SUBSCRIPTSrmZCALLSrar]ZBINARYZSHIFTINGr_r/rZ ASSERTIONZ ASSIGNMENTr^ZDELETIONZ RETURNINGZ IMPORTINGZ CONDITIONALZLOOPINGr+Z DEBUGGINGZCONTEXTMANAGERSNcCs||_||_dSr)_input_output)r8inputrrrrrszHelper.__init__cCs |jp tjSr)rwrrrrrrrysz Helper.inputcCs |jp tjSr)rxrrrrrrrsz Helper.outputcCs2tdddkr|dSd|jj|jjfS)NrJrX?rCz<%s.%s instance>)rstackr+rrrrrr__repr__s zHelper.__repr__cCs6||jur||n|||jddS)Na You are now leaving help and returning to the Python interpreter. If you want to ask for help on a particular object directly from the interpreter, you can type "help(object)". Executing "help('string')" has the same effect as typing a particular string at the help> prompt. )_GoInteractiverintrointeractrrr8Zrequestrrr__call__s   zHelper.__call__c Cs|jdz|d}|s WqWnttfy<YqYn0|}t|dkr|d|dkrndvrnn |d|ddvr|dd}|dvrq|d kr|q | |q dS) NrIzhelp> rKrrrFrJ)rquitr) rrgetlinerEOFErrorrLrMrr~rrrrrrs    ,  zHelper.interactcCs8|jtjurt|S|j||j|jSdS)z.Read one line, using input() when appropriate.N)ryrrrrrr)r8promptrrrrs    zHelper.getlinecCs<t|tdur|}|dkr,|n|dkr>|n|dkrP|n|dkrb|n|dddkr||dn||jvr||nj|d vrt t |d nR||j vr| |n<||j vr| |n&|rt |d |jd nt td |jd n$t|tr|nt |d |jd |jd dS) NrCkeywordssymbolstopicsrzmodules rJ)r:r8r9z Help on %s:)rrI)r?rL listkeywords listsymbols listtopics listmodulesr r showsymbolr;evalr showtopicrrxr@rrrrrrrrrs$z Helper.helpcCs$|jddtjdddS)Na Welcome to Python {0}'s help utility! If this is your first time using Python, you should definitely check out the tutorial on the Internet at https://docs.python.org/{0}/tutorial/. Enter the name of any module, keyword, or topic to get help on writing Python programs and using Python modules. To quit this help utility and return to the interpreter, just type "quit". To get a list of available modules, keywords, symbols, or topics, type "modules", "keywords", "symbols", or "topics". Each module also comes with a one-line summary of what it does; to list the modules whose name or summary contain a given string such as "spam", type "modules spam". z%d.%drK)rrr(rrrrrrr~s z Helper.introrPc Cstt|}||}t||d|}t|D]v}t|D]\}|||}|t|kr<|j||||dkr<|jdd|dt||q<|jdq0dS)NrJrrI)r'rrMr&rr) r8itemscolumnsrZcolwr)rowr*rrrrr'%s      &z Helper.listcCs |jd||jdS)NzN Here is a list of the Python keywords. Enter any keyword to get more help. )rrr'rrgrrrrr2s zHelper.listkeywordscCs |jd||jdS)Nzx Here is a list of the punctuation symbols which Python assigns special meaning to. Enter any symbol to get more help. )rrr'rrgrrrrr9s zHelper.listsymbolscCs |jd||jdS)NzN Here is a list of available topics. Enter any topic name to get more help. )rrr'rrgrrrrrAs zHelper.listtopicsc Cs,z ddl}Wn ty,|jdYdS0|j||j|}|s`|jdt|dSt|tdur|| ||S|\}}z|jj|}Wn(t y|jdt|YdS0| d}|r|pdd|}|r ddl }dd |d} || d } |d d | 7}t|dS) Nrt Sorry, topic and keyword documentation is not available because the module "pydoc_data.topics" could not be found. zno documentation found for %s rCrIrRelated help topics: rEHz %s )pydoc_data.topicsrrrrrrrr?rKeyErrorrLtextwraprNr Zwrapr) r8topic more_xrefs pydoc_datatargetlabelxrefsr;rrVZ wrapped_textrrrrHs4       zHelper.showtopiccCsz ddl}Wnty YdS0|j||j|}|sDtdt|trZ|||S|\}}|jj|}|r|pxdd|}||fS)a*Return unbuffered tuple of (topic, xrefs). If an error occurs here, the exception is caught and displayed by the url handler. This function duplicates the showtopic method but returns its result directly so it can be formatted for display in an html page. rN)rrCzcould not find topicrCr) rrrrrrrr@ _gettopic)r8rrrrrrr;rrrrhs      zHelper._gettopiccCs*|j|}|d\}}}|||dS)Nr)r partitionr)r8symbolrrr}rrrrrs zHelper.showsymbolcsv|r |jd|t|nR|jdi}|fddfdd}tj|d|||jddS) Nzy Here is a list of modules whose name or summary contains '{}'. If there are any, enter a module name to get more help. zI Please wait a moment while I gather a list of all available modules... cSs>|r$|dddkr$|ddd}|ddkr:d||<dS)N .__init__rrrrJ)find)rrQrrrrrcallbacksz$Helper.listmodules..callbackcsd|ddSrrrrrronerrorsz#Helper.listmodules..onerrorrz Enter any module name to get more help. Or, type "modules spam" to search for modules whose name or summary contain the string "spam". )rrr(apropos ModuleScannerrunr'rg)r8rjrrrrrrs     zHelper.listmodules)NN)rr)rC)rC)rC)!r)rrrZ _strprefixesZ_symbols_inverserrrZsymbols_rrrrr.ryrr|rr}rrrrr~r'rrrrrrrrrrrrsD(    W       rc@seZdZdZdddZdS)rz7An interruptible scanner that searches module synopses.Nc Cs|r |}d|_i}tjD]p}|dkrd||<|durF|d|dqt|jpRd}|dd}|d|}||dkr|d||qtj |dD]V\} }} |jrq|dur|d|dqzt | |} Wnt yYqYn0| j } t | d rjz| |} Wn&ty6|r.||YqYn0tt| pJd}t | d rd| |}nd}n^ztj| }Wn&ty|r||YqYn0|jr|jdnd}t|d d}|d|}||dkr||||q|r|dS) NF__main__rJrCrIrrr get_source get_filenamert)rrrrrr=r rr]r _get_specrrrrrrrrStringIOrrrrrrr!)r8rrjZ completerrseenrQr$rrgrhrrsourcerrrrrrs^            zModuleScanner.run)NNN)r)rrr=rrrrrrsrcCsXdd}dd}t,tdtj|||dWdn1sJ0YdS)zAPrint all the one-line module summaries that contain a substring.cSs6|dddkr |ddd}t||o.d|dSNrrrz- )rrrQrrrrrszapropos..callbackcSsdSrrrrrrrszapropos..onerrorignorerN)warningscatch_warningsfilterwarningsrr)rjrrrrrrs   rcsddlddlddlddlGdddjjGfdddjjGfdddj}||||}||j s|j st d q~|S) aAStart an HTTP server thread on a specific port. Start an HTML/text server thread, so HTML or text documents can be browsed dynamically and interactively with a Web browser. Example use: >>> import time >>> import pydoc Define a URL handler. To determine what the client is asking for, check the URL and content_type. Then get or generate some text or HTML code and return it. >>> def my_url_handler(url, content_type): ... text = 'the URL sent was: (%s, %s)' % (url, content_type) ... return text Start server thread on port 0. If you use port 0, the server will pick a random port number. You can then use serverthread.port to get the port number. >>> port = 0 >>> serverthread = pydoc._start_server(my_url_handler, port) Check that the server is really started. If it is, open browser and get first page. Use serverthread.url as the starting page. >>> if serverthread.serving: ... import webbrowser The next two lines are commented out so a browser doesn't open if doctest is run on this module. #... webbrowser.open(serverthread.url) #True Let the server do its thing. We just need to monitor its status. Use time.sleep so the loop doesn't hog the CPU. >>> starttime = time.monotonic() >>> timeout = 1 #seconds This is a short timeout for testing purposes. >>> while serverthread.serving: ... time.sleep(.01) ... if serverthread.serving and time.monotonic() - starttime > timeout: ... serverthread.stop() ... break Print any errors that may have occurred. >>> print(serverthread.error) None rNc@seZdZddZddZdS)z!_start_server..DocHandlercSsX|jdrd}nd}|d|dd|||j||j|ddS) zProcess a request from an HTML browser. The URL received is in self.path. Get an HTML page from self.urlhandler and send it. z.csstext/css text/htmlz Content-Typez%s; charset=UTF-8rN) rrZ send_responseZ send_headerZ end_headersZwfiler urlhandlerr)r8 content_typerrrdo_GET0 s   z(_start_server..DocHandler.do_GETcWsdSrr)r8rrrr log_message@ sz-_start_server..DocHandler.log_messageN)r)rrrrrrrr DocHandler. srcs(eZdZddZfddZddZdS)z _start_server..DocServercSs6||_|j|f|_||_|j||j|jd|_dSNF)hostZaddressrr:rhandlerr)r8rportrrrrrF s  z)_start_server..DocServer.__init__cs>|js2|jgggd\}}}|r|q|dSrb)rselectZsocketrZhandle_requestZ server_close)r8ZrdZwrZexrrrserve_until_quitM s  z1_start_server..DocServer.serve_until_quitcSs |j||jr||dSr)r:server_activaterrrrrrT s z0_start_server..DocServer.server_activateN)r)rrrrrrrrr DocServerD s rcs:eZdZfddZfddZddZddZd S) z#_start_server..ServerThreadcs2||_||_t||_j|d|_d|_dSr)rrr<rThreadrservingerror)r8rrr) threadingrrr[ s   z,_start_server..ServerThread.__init__c szzJjj__jj_t|j_|j |j |j }||_ | Wn*tyt}z||_WYd}~n d}~00dS)zStart the server.N)server HTTPServerr:rrZMessageZ MessageClass staticmethodrrrready docserverrrrr)r8Zdocsvre)rremailhttprrrc s    z'_start_server..ServerThread.runcSs,d|_|j|_|j|_d|j|jf|_dS)NTz http://%s:%d/)rrZ server_portrr3)r8rrrrrp sz)_start_server..ServerThread.readycSs&d|j_|d|_d|_d|_dS)z&Stop the server and this thread nicelyTNF)rrrNrr3rrrrstopv s z(_start_server..ServerThread.stopN)r)rrrrrrr)rrrrrrr ServerThreadY s  rg{Gz?) Z http.serverZ email.messagerrrZBaseHTTPRequestHandlerrrrBrrtimesleep)rhostnamerrthreadr)rrrrrrr _start_servers8'   rrcs6Gfdddt}|fddfddfddfd d fd d fd dfddfddfdd}|dr|dd}|dkrtjtjt}tj||}t|}d| WdS1s0Yn|dkr"||St d||fdS)aThe pydoc url handler for use with the pydoc server. If the content_type is 'text/css', the _pydoc.css style sheet is read and returned if it exits. If the content_type is 'text/html', then the result of get_html_page(url) is returned. cseZdZfddZdS)z_url_handler.._HTMLDoccsd}d|}d|||fS)rzpydoc_data/_pydoc.cssz1a  Pydoc: %s %s%s
%s
r)r8rrcss_pathZcss_link html_navbarrrr s z#_url_handler.._HTMLDoc.pageN)r)rrrrrrr_HTMLDoc srcs>dttdtf}d|tjddfS)Nz %s [%s, %s]raZ
Python %s
%s
T)Zterse)rrZpython_versionZ python_buildZpython_compiler)rdrrrr s  z!_url_handler..html_navbarcsdd}ddd}ddtjD}||}|dd dd |g}i}tjD]}|||qT|d d d |fS)zModule Index page.cSs d||fSNr0rr$rrr bltinlink sz3_url_handler..html_index..bltinlinkz7Index of ModulesrRrScSsg|]}|dkr|qS)rr)rr$rrrr sz4_url_handler..html_index..z

zBuilt-in ModulesrWz|

pydoc by Ka-Ping Yee<ping@lfw.org>zIndex of ModulesrC) rrrr+r!rr rrN)rrnamesrrrrrr html_index s"  z _url_handler..html_indexc sgfdd}t4tddd}tj|||dWdn1sR0Ydd }g}d d d }D]\}}||||qz|d |d dd|}d|fS)zSearch results page.cs:|dddkr |ddd}||o0d|fdSrrlrZ search_resultrrr sz3_url_handler..html_search..callbackrcSsdSrrrrrrr sz2_url_handler..html_search..onerrorrNcSs d||fSrrrrrrr sz4_url_handler..html_search..bltinlinkz5Search ResultsrRrSzkey = %srW
zSearch Results) rrrrrrr r!rN) rjrrrrrr$rrrrr html_search s$   0 z!_url_handler..html_searchcsLdd}ddd}ttj}||}|ddd|}d|fS)zIndex of topic texts available.cSs d||fSNz%srrrrrr sz4_url_handler..html_topics..bltinlink,INDEXrRrSZTopicsrW)rrrrrgr+r!)rrrrrrr html_topics s z!_url_handler..html_topicscsLddd}ttj}dd}||}|ddd|}d|fS)zIndex of keywords.rrRrScSs d||fSrrrrrrr sz6_url_handler..html_keywords..bltinlinkZKeywordsrW)rrrrrgr+r!)rrrrrrr html_keywords s z#_url_handler..html_keywordscst}t||}||\}}||jvr0d}nd}d|dd}d|}|dd|}|rt| }dd } ||} d dd|}d ||fd |||ffS) zTopic or keyword help page.ZKEYWORDZTOPICrNrRrSz

%s
rWcSs d||fSrrrrrrr& sz7_url_handler..html_topicpage..bltinlinkrz%s %srC) rrrrrrrDr!rr r+r rN)rZbufZhtmlhelprrrrrrrrhtml_topicpage s,     z$_url_handler..html_topicpagecs@t|dd}|dur$|dkr$tdt|}||}||fS)NrJ)rr9zcould not find object)r rr r)r3r7rcontentrrr html_getobj/ s   z!_url_handler..html_getobjcsPddd}dfddtt||D}||dd|}d||fS) Nz,ErrorrRrSrc3s|]}|VqdSr)rrrrrr; rz3_url_handler..html_error..z#bb0000z Error - %s)rrNrr?r!)r3rrrrrr html_error7 s  z _url_handler..html_errorc sp|}|dr|dd}z|dvr2\}}n|dkrF\}}n|dkrZ\}}nd|vr |d\}}}|dkr|\}}n|d krz|\}}Wnty|\}}Yn0nZ|d kr|dvr\}}n2z|\}}Wn ty|\}}Yn0ntd n |\}}Wn4tyb}z||\}}WYd}~n d}~00||S) zGenerate an HTML page for url.rN)rCrrrrz search?keyz topic?keyzget?keyz bad pydoc url)rrrrrr)r3Z complete_urlrropr}r)rrrrrrrrrr get_html_pageA s>          $z#_url_handler..get_html_pagerrJNrrCrz"unknown content type %r for url %s) rrr rdirnamerealpathrtrNr readlinesrA)r3rrrZ path_hererfpr) rrrrrrrrrr _url_handler s*         (    0 rT localhost) open_browserrc Csddl}tt||}|jr(t|jdS|jrd}|rB||jzzZtd|jt||jrtd}| }|dkr|qqZ|dkr||jqZt|qZWnt t fytYn0W|jr| tdn|jr| td0dS) zStart the enhanced pydoc Web server and open a Web browser. Use port '0' to start the server on an arbitrary port. Set open_browser to False to suppress opening a browser. rNz"Server commands: [b]rowser, [q]uitzServer ready atzserver> rrzServer stopped) webbrowserrrrrrrr3ryrrrr)rrrrZ serverthreadZserver_help_msgrrrrbrowsev s8     rcCst|to|tjdkSr)rr@rr sep)rorrrispath srcCsvd|vstj|vst|vr"dStjt}tj|}|}||vrbtj||sb||| dt|S)zEnsures current directory is on returned path, and argv0 directory is not Exception: argv0 dir is left alone if it's also pydoc's directory. Returns a new path entry list, or None if no adjustment is needed. rCNr) r curdirgetcwdrrrtcopysamefileremoveinsert)Z given_pathZargv0Z stdlib_dirZ script_dir revised_pathrrr_get_revised_path s    r cCs,ttjtjd}|dur(|tjdd<dS)zEnsures current directory is on sys.path, and __main__ directory is not. Exception: __main__ dir is left alone if it's also pydoc's directory. rN)r rrargv)rrrr_adjust_cli_sys_path sr c Csddl}Gdddt}tzx|tjddd\}}d}d}d}d}d}|D]\\} } | d krld }d }| d krt| WdS| d krd }| }| d krd }| dkrTd }| }qT|rt|||dWdS|s||D]} t| rtj | st d| qz`t| r&tj | r&t | } |rXt| rNtj | rNt| nt| n t| Wqty} zt | WYd} ~ qd} ~ 00qWnL|j|fytj tj tjdd} t dj| tjdYn0dS)z@Command-line interface (looks at sys.argv to decide what to do).rNc@s eZdZdS)zcli..BadUsageN)r)rrrrrrBadUsage rr rJzbk:n:p:wFrz-bTz-kz-pz-wz-n)rrzfile %r does not existapydoc - the Python documentation tool {cmd} ... Show text documentation on something. may be the name of a Python keyword, topic, function, module, or package, or a dotted reference to a class or function within a module or module in a package. If contains a '{sep}', it is used as the path to a Python source file to document. If name is 'keywords', 'topics', or 'modules', a listing of these things is displayed. {cmd} -k Search for a keyword in the synopsis lines of all available modules. {cmd} -n Start an HTTP server with the given hostname (default: localhost). {cmd} -p Start an HTTP server on the given port on the local machine. Port number 0 can be used to get an arbitrary unused port. {cmd} -b Start an HTTP server on an arbitrary unused port and open a Web browser to interactively browse documentation. This option can be used in combination with -n and/or -p. {cmd} -w ... Write out the HTML documentation for a module to a file in the current directory. If contains a '{sep}', it is treated as a filename; if it names a directory, documentation is written for all the contents. )rr)getoptrrr rr rrrr rexistsrrrr rrrrrrrr(r)r r ZoptsrZwritingZ start_serverrrroptvalargrkrrrrcli s`    $rr)NN)r)r)r rN)r rN)r)rCN)r)r)`r=rXrrryrzrZimportlib._bootstraprZimportlib._bootstrap_externalimportlib.machineryimportlib.utilrrr r]rrDrrrrrZ urllib.parserYr collectionsrreprlibr tracebackrrrr%r<r5rBrHrPrRrUrWr\r8 IGNORECASEr]r_rarfrprrrrrrrrrrrrrrrrrrrrrrrrrr r rVrrr rr;rrrrrrrrrrr r rr)rrrrs&      3      ' 0:*; " ,    = n% U