/usr/lib64/python3.9/__pycache__
NameSizeModeActions
abc.cpython-39.opt-1.pyc57750644editdlrm
abc.cpython-39.opt-2.pyc32160644editdlrm
abc.cpython-39.pyc57750644editdlrm
aifc.cpython-39.opt-1.pyc252660644editdlrm
aifc.cpython-39.opt-2.pyc200590644editdlrm
aifc.cpython-39.pyc252660644editdlrm
antigravity.cpython-39.opt-1.pyc8190644editdlrm
antigravity.cpython-39.opt-2.pyc6750644editdlrm
antigravity.cpython-39.pyc8190644editdlrm
argparse.cpython-39.opt-1.pyc635430644editdlrm
argparse.cpython-39.opt-2.pyc541790644editdlrm
argparse.cpython-39.pyc636540644editdlrm
ast.cpython-39.opt-1.pyc523320644editdlrm
ast.cpython-39.opt-2.pyc437870644editdlrm
ast.cpython-39.pyc523830644editdlrm
asynchat.cpython-39.opt-1.pyc68220644editdlrm
asynchat.cpython-39.opt-2.pyc54470644editdlrm
asynchat.cpython-39.pyc68220644editdlrm
asyncore.cpython-39.opt-1.pyc160360644editdlrm
asyncore.cpython-39.opt-2.pyc148320644editdlrm
asyncore.cpython-39.pyc160360644editdlrm
base64.cpython-39.opt-1.pyc163230644editdlrm
base64.cpython-39.opt-2.pyc108030644editdlrm
base64.cpython-39.pyc164550644editdlrm
bdb.cpython-39.opt-1.pyc245400644editdlrm
bdb.cpython-39.opt-2.pyc155030644editdlrm
bdb.cpython-39.pyc245400644editdlrm
binhex.cpython-39.opt-1.pyc129650644editdlrm
binhex.cpython-39.opt-2.pyc124310644editdlrm
binhex.cpython-39.pyc129650644editdlrm
bisect.cpython-39.opt-1.pyc23500644editdlrm
bisect.cpython-39.opt-2.pyc10380644editdlrm
bisect.cpython-39.pyc23500644editdlrm
bz2.cpython-39.opt-1.pyc115450644editdlrm
bz2.cpython-39.opt-2.pyc65290644editdlrm
bz2.cpython-39.pyc115450644editdlrm
calendar.cpython-39.opt-1.pyc270310644editdlrm
calendar.cpython-39.opt-2.pyc224390644editdlrm
calendar.cpython-39.pyc270310644editdlrm
cgi.cpython-39.opt-1.pyc264820644editdlrm
cgi.cpython-39.opt-2.pyc180560644editdlrm
cgi.cpython-39.pyc264820644editdlrm
cgitb.cpython-39.opt-1.pyc101860644editdlrm
cgitb.cpython-39.opt-2.pyc85870644editdlrm
cgitb.cpython-39.pyc101860644editdlrm
chunk.cpython-39.opt-1.pyc48410644editdlrm
chunk.cpython-39.opt-2.pyc26970644editdlrm
chunk.cpython-39.pyc48410644editdlrm
cmd.cpython-39.opt-1.pyc126760644editdlrm
cmd.cpython-39.opt-2.pyc72510644editdlrm
cmd.cpython-39.pyc126760644editdlrm
code.cpython-39.opt-1.pyc99160644editdlrm
code.cpython-39.opt-2.pyc46450644editdlrm
code.cpython-39.pyc99160644editdlrm
codecs.cpython-39.opt-1.pyc338880644editdlrm
codecs.cpython-39.opt-2.pyc183160644editdlrm
codecs.cpython-39.pyc338880644editdlrm
codeop.cpython-39.opt-1.pyc64580644editdlrm
codeop.cpython-39.opt-2.pyc23980644editdlrm
codeop.cpython-39.pyc64580644editdlrm
colorsys.cpython-39.opt-1.pyc32600644editdlrm
colorsys.cpython-39.opt-2.pyc26540644editdlrm
colorsys.cpython-39.pyc32600644editdlrm
compileall.cpython-39.opt-1.pyc125890644editdlrm
compileall.cpython-39.opt-2.pyc93300644editdlrm
compileall.cpython-39.pyc125890644editdlrm
configparser.cpython-39.opt-1.pyc458690644editdlrm
configparser.cpython-39.opt-2.pyc307290644editdlrm
configparser.cpython-39.pyc458690644editdlrm
contextlib.cpython-39.opt-1.pyc195280644editdlrm
contextlib.cpython-39.opt-2.pyc139430644editdlrm
contextlib.cpython-39.pyc195380644editdlrm
contextvars.cpython-39.opt-1.pyc2450644editdlrm
contextvars.cpython-39.opt-2.pyc2450644editdlrm
contextvars.cpython-39.pyc2450644editdlrm
copy.cpython-39.opt-1.pyc69630644editdlrm
copy.cpython-39.opt-2.pyc46600644editdlrm
copy.cpython-39.pyc69630644editdlrm
copyreg.cpython-39.opt-1.pyc44110644editdlrm
copyreg.cpython-39.opt-2.pyc36090644editdlrm
copyreg.cpython-39.pyc44300644editdlrm
cProfile.cpython-39.opt-1.pyc51160644editdlrm
cProfile.cpython-39.opt-2.pyc46550644editdlrm
cProfile.cpython-39.pyc51160644editdlrm
crypt.cpython-39.opt-1.pyc35130644editdlrm
crypt.cpython-39.opt-2.pyc28510644editdlrm
crypt.cpython-39.pyc35130644editdlrm
csv.cpython-39.opt-1.pyc118490644editdlrm
csv.cpython-39.opt-2.pyc98080644editdlrm
csv.cpython-39.pyc118490644editdlrm
dataclasses.cpython-39.opt-1.pyc232170644editdlrm
dataclasses.cpython-39.opt-2.pyc197780644editdlrm
dataclasses.cpython-39.pyc232170644editdlrm
datetime.cpython-39.opt-1.pyc569740644editdlrm
datetime.cpython-39.opt-2.pyc485300644editdlrm
datetime.cpython-39.pyc581150644editdlrm
decimal.cpython-39.opt-1.pyc3590644editdlrm
decimal.cpython-39.opt-2.pyc3590644editdlrm
decimal.cpython-39.pyc3590644editdlrm
difflib.cpython-39.opt-1.pyc585580644editdlrm
difflib.cpython-39.opt-2.pyc250240644editdlrm
difflib.cpython-39.pyc585800644editdlrm
dis.cpython-39.opt-1.pyc158200644editdlrm
dis.cpython-39.opt-2.pyc120130644editdlrm
dis.cpython-39.pyc158200644editdlrm
doctest.cpython-39.opt-1.pyc758320644editdlrm
doctest.cpython-39.opt-2.pyc405260644editdlrm
doctest.cpython-39.pyc760390644editdlrm
enum.cpython-39.opt-1.pyc260200644editdlrm
enum.cpython-39.opt-2.pyc210980644editdlrm
enum.cpython-39.pyc260200644editdlrm
filecmp.cpython-39.opt-1.pyc86220644editdlrm
filecmp.cpython-39.opt-2.pyc60840644editdlrm
filecmp.cpython-39.pyc86220644editdlrm
fileinput.cpython-39.opt-1.pyc137900644editdlrm
fileinput.cpython-39.opt-2.pyc81820644editdlrm
fileinput.cpython-39.pyc137900644editdlrm
fnmatch.cpython-39.opt-1.pyc38700644editdlrm
fnmatch.cpython-39.opt-2.pyc26620644editdlrm
fnmatch.cpython-39.pyc39420644editdlrm
formatter.cpython-39.opt-1.pyc175390644editdlrm
formatter.cpython-39.opt-2.pyc150990644editdlrm
formatter.cpython-39.pyc175390644editdlrm
fractions.cpython-39.opt-1.pyc180490644editdlrm
fractions.cpython-39.opt-2.pyc108490644editdlrm
fractions.cpython-39.pyc180490644editdlrm
ftplib.cpython-39.opt-1.pyc286940644editdlrm
ftplib.cpython-39.opt-2.pyc185500644editdlrm
ftplib.cpython-39.pyc286940644editdlrm
functools.cpython-39.opt-1.pyc287230644editdlrm
functools.cpython-39.opt-2.pyc220020644editdlrm
functools.cpython-39.pyc287230644editdlrm
genericpath.cpython-39.opt-1.pyc45410644editdlrm
genericpath.cpython-39.opt-2.pyc33580644editdlrm
genericpath.cpython-39.pyc45410644editdlrm
getopt.cpython-39.opt-1.pyc62420644editdlrm
getopt.cpython-39.opt-2.pyc36880644editdlrm
getopt.cpython-39.pyc62600644editdlrm
getpass.cpython-39.opt-1.pyc42000644editdlrm
getpass.cpython-39.opt-2.pyc30140644editdlrm
getpass.cpython-39.pyc42000644editdlrm
gettext.cpython-39.opt-1.pyc180730644editdlrm
gettext.cpython-39.opt-2.pyc173820644editdlrm
gettext.cpython-39.pyc180730644editdlrm
glob.cpython-39.opt-1.pyc45050644editdlrm
glob.cpython-39.opt-2.pyc36450644editdlrm
glob.cpython-39.pyc45440644editdlrm
graphlib.cpython-39.opt-1.pyc75220644editdlrm
graphlib.cpython-39.opt-2.pyc40860644editdlrm
graphlib.cpython-39.pyc75680644editdlrm
gzip.cpython-39.opt-1.pyc184940644editdlrm
gzip.cpython-39.opt-2.pyc146270644editdlrm
gzip.cpython-39.pyc184940644editdlrm
hashlib.cpython-39.opt-1.pyc52050644editdlrm
hashlib.cpython-39.opt-2.pyc48800644editdlrm
hashlib.cpython-39.pyc52050644editdlrm
heapq.cpython-39.opt-1.pyc140400644editdlrm
heapq.cpython-39.opt-2.pyc110240644editdlrm
heapq.cpython-39.pyc140400644editdlrm
hmac.cpython-39.opt-1.pyc71230644editdlrm
hmac.cpython-39.opt-2.pyc46040644editdlrm
hmac.cpython-39.pyc71230644editdlrm
imaplib.cpython-39.opt-1.pyc405070644editdlrm
imaplib.cpython-39.opt-2.pyc278240644editdlrm
imaplib.cpython-39.pyc426880644editdlrm
imghdr.cpython-39.opt-1.pyc41400644editdlrm
imghdr.cpython-39.opt-2.pyc38250644editdlrm
imghdr.cpython-39.pyc41400644editdlrm
imp.cpython-39.opt-1.pyc98510644editdlrm
imp.cpython-39.opt-2.pyc74860644editdlrm
imp.cpython-39.pyc98510644editdlrm
inspect.cpython-39.opt-1.pyc812300644editdlrm
inspect.cpython-39.opt-2.pyc561020644editdlrm
inspect.cpython-39.pyc814720644editdlrm
io.cpython-39.opt-1.pyc34080644editdlrm
io.cpython-39.opt-2.pyc19190644editdlrm
io.cpython-39.pyc34080644editdlrm
ipaddress.cpython-39.opt-1.pyc656820644editdlrm
ipaddress.cpython-39.opt-2.pyc397020644editdlrm
ipaddress.cpython-39.pyc656820644editdlrm
keyword.cpython-39.opt-1.pyc9160644editdlrm
keyword.cpython-39.opt-2.pyc5120644editdlrm
keyword.cpython-39.pyc9160644editdlrm
linecache.cpython-39.opt-1.pyc40280644editdlrm
linecache.cpython-39.opt-2.pyc27950644editdlrm
linecache.cpython-39.pyc40280644editdlrm
locale.cpython-39.opt-1.pyc346960644editdlrm
locale.cpython-39.opt-2.pyc300780644editdlrm
locale.cpython-39.pyc346960644editdlrm
lzma.cpython-39.opt-1.pyc120940644editdlrm
lzma.cpython-39.opt-2.pyc58960644editdlrm
lzma.cpython-39.pyc120940644editdlrm
mailbox.cpython-39.opt-1.pyc605460644editdlrm
mailbox.cpython-39.opt-2.pyc539420644editdlrm
mailbox.cpython-39.pyc606000644editdlrm
mailcap.cpython-39.opt-1.pyc72390644editdlrm
mailcap.cpython-39.opt-2.pyc56690644editdlrm
mailcap.cpython-39.pyc72390644editdlrm
mimetypes.cpython-39.opt-1.pyc160150644editdlrm
mimetypes.cpython-39.opt-2.pyc100000644editdlrm
mimetypes.cpython-39.pyc160150644editdlrm
modulefinder.cpython-39.opt-1.pyc160820644editdlrm
modulefinder.cpython-39.opt-2.pyc151730644editdlrm
modulefinder.cpython-39.pyc161280644editdlrm
netrc.cpython-39.opt-1.pyc37830644editdlrm
netrc.cpython-39.opt-2.pyc35450644editdlrm
netrc.cpython-39.pyc37830644editdlrm
nntplib.cpython-39.opt-1.pyc317630644editdlrm
nntplib.cpython-39.opt-2.pyc201630644editdlrm
nntplib.cpython-39.pyc317630644editdlrm
ntpath.cpython-39.opt-1.pyc142710644editdlrm
ntpath.cpython-39.opt-2.pyc122200644editdlrm
ntpath.cpython-39.pyc142710644editdlrm
nturl2path.cpython-39.opt-1.pyc17460644editdlrm
nturl2path.cpython-39.opt-2.pyc13270644editdlrm
nturl2path.cpython-39.pyc17460644editdlrm
numbers.cpython-39.opt-1.pyc123190644editdlrm
numbers.cpython-39.opt-2.pyc83620644editdlrm
numbers.cpython-39.pyc123190644editdlrm
opcode.cpython-39.opt-1.pyc52230644editdlrm
opcode.cpython-39.opt-2.pyc50820644editdlrm
opcode.cpython-39.pyc52230644editdlrm
operator.cpython-39.opt-1.pyc137840644editdlrm
operator.cpython-39.opt-2.pyc113950644editdlrm
operator.cpython-39.pyc137840644editdlrm
optparse.cpython-39.opt-1.pyc478880644editdlrm
optparse.cpython-39.opt-2.pyc355730644editdlrm
optparse.cpython-39.pyc479430644editdlrm
os.cpython-39.opt-1.pyc316300644editdlrm
os.cpython-39.opt-2.pyc194400644editdlrm
os.cpython-39.pyc316460644editdlrm
pathlib.cpython-39.opt-1.pyc435280644editdlrm
pathlib.cpython-39.opt-2.pyc346680644editdlrm
pathlib.cpython-39.pyc435280644editdlrm
pdb.cpython-39.opt-1.pyc475470644editdlrm
pdb.cpython-39.opt-2.pyc334760644editdlrm
pdb.cpython-39.pyc475860644editdlrm
pickle.cpython-39.opt-1.pyc470120644editdlrm
pickle.cpython-39.opt-2.pyc411420644editdlrm
pickle.cpython-39.pyc470980644editdlrm
pickletools.cpython-39.opt-1.pyc662930644editdlrm
pickletools.cpython-39.opt-2.pyc572000644editdlrm
pickletools.cpython-39.pyc671070644editdlrm
pipes.cpython-39.opt-1.pyc77950644editdlrm
pipes.cpython-39.opt-2.pyc49280644editdlrm
pipes.cpython-39.pyc77950644editdlrm
pkgutil.cpython-39.opt-1.pyc185660644editdlrm
pkgutil.cpython-39.opt-2.pyc118670644editdlrm
pkgutil.cpython-39.pyc185660644editdlrm
platform.cpython-39.opt-1.pyc264160644editdlrm
platform.cpython-39.opt-2.pyc183480644editdlrm
platform.cpython-39.pyc264160644editdlrm
plistlib.cpython-39.opt-1.pyc234960644editdlrm
plistlib.cpython-39.opt-2.pyc211370644editdlrm
plistlib.cpython-39.pyc235470644editdlrm
poplib.cpython-39.opt-1.pyc137540644editdlrm
poplib.cpython-39.opt-2.pyc88240644editdlrm
poplib.cpython-39.pyc137540644editdlrm
posixpath.cpython-39.opt-1.pyc106420644editdlrm
posixpath.cpython-39.opt-2.pyc89270644editdlrm
posixpath.cpython-39.pyc106420644editdlrm
pprint.cpython-39.opt-1.pyc167970644editdlrm
pprint.cpython-39.opt-2.pyc146400644editdlrm
pprint.cpython-39.pyc168300644editdlrm
profile.cpython-39.opt-1.pyc142230644editdlrm
profile.cpython-39.opt-2.pyc112450644editdlrm
profile.cpython-39.pyc144110644editdlrm
pstats.cpython-39.opt-1.pyc237520644editdlrm
pstats.cpython-39.opt-2.pyc208430644editdlrm
pstats.cpython-39.pyc237520644editdlrm
pty.cpython-39.opt-1.pyc39560644editdlrm
pty.cpython-39.opt-2.pyc31110644editdlrm
pty.cpython-39.pyc39560644editdlrm
pyclbr.cpython-39.opt-1.pyc104490644editdlrm
pyclbr.cpython-39.opt-2.pyc68480644editdlrm
pyclbr.cpython-39.pyc104490644editdlrm
pydoc.cpython-39.opt-1.pyc854280644editdlrm
pydoc.cpython-39.opt-2.pyc755460644editdlrm
pydoc.cpython-39.pyc854600644editdlrm
py_compile.cpython-39.opt-1.pyc73960644editdlrm
py_compile.cpython-39.opt-2.pyc36580644editdlrm
py_compile.cpython-39.pyc73960644editdlrm
queue.cpython-39.opt-1.pyc108760644editdlrm
queue.cpython-39.opt-2.pyc65260644editdlrm
queue.cpython-39.pyc108760644editdlrm
quopri.cpython-39.opt-1.pyc56030644editdlrm
quopri.cpython-39.opt-2.pyc45670644editdlrm
quopri.cpython-39.pyc57470644editdlrm
random.cpython-39.opt-1.pyc220430644editdlrm
random.cpython-39.opt-2.pyc145960644editdlrm
random.cpython-39.pyc220430644editdlrm
re.cpython-39.opt-1.pyc143620644editdlrm
re.cpython-39.opt-2.pyc60240644editdlrm
re.cpython-39.pyc143620644editdlrm
reprlib.cpython-39.opt-1.pyc53070644editdlrm
reprlib.cpython-39.opt-2.pyc51510644editdlrm
reprlib.cpython-39.pyc53070644editdlrm
rlcompleter.cpython-39.opt-1.pyc58060644editdlrm
rlcompleter.cpython-39.opt-2.pyc31430644editdlrm
rlcompleter.cpython-39.pyc58060644editdlrm
runpy.cpython-39.opt-1.pyc93850644editdlrm
runpy.cpython-39.opt-2.pyc69430644editdlrm
runpy.cpython-39.pyc93850644editdlrm
sched.cpython-39.opt-1.pyc66330644editdlrm
sched.cpython-39.opt-2.pyc36050644editdlrm
sched.cpython-39.pyc66330644editdlrm
secrets.cpython-39.opt-1.pyc21800644editdlrm
secrets.cpython-39.opt-2.pyc11220644editdlrm
secrets.cpython-39.pyc21800644editdlrm
selectors.cpython-39.opt-1.pyc172450644editdlrm
selectors.cpython-39.opt-2.pyc131360644editdlrm
selectors.cpython-39.pyc172450644editdlrm
shelve.cpython-39.opt-1.pyc95440644editdlrm
shelve.cpython-39.opt-2.pyc53930644editdlrm
shelve.cpython-39.pyc95440644editdlrm
shlex.cpython-39.opt-1.pyc77340644editdlrm
shlex.cpython-39.opt-2.pyc71760644editdlrm
shlex.cpython-39.pyc77340644editdlrm
shutil.cpython-39.opt-1.pyc384970644editdlrm
shutil.cpython-39.opt-2.pyc264290644editdlrm
shutil.cpython-39.pyc384970644editdlrm
signal.cpython-39.opt-1.pyc30060644editdlrm
signal.cpython-39.opt-2.pyc27820644editdlrm
signal.cpython-39.pyc30060644editdlrm
site.cpython-39.opt-1.pyc172290644editdlrm
site.cpython-39.opt-2.pyc115550644editdlrm
site.cpython-39.pyc172290644editdlrm
smtpd.cpython-39.opt-1.pyc265240644editdlrm
smtpd.cpython-39.opt-2.pyc239040644editdlrm
smtpd.cpython-39.pyc265240644editdlrm
smtplib.cpython-39.opt-1.pyc358850644editdlrm
smtplib.cpython-39.opt-2.pyc195230644editdlrm
smtplib.cpython-39.pyc359300644editdlrm
sndhdr.cpython-39.opt-1.pyc69930644editdlrm
sndhdr.cpython-39.opt-2.pyc57180644editdlrm
sndhdr.cpython-39.pyc69930644editdlrm
socket.cpython-39.opt-1.pyc289760644editdlrm
socket.cpython-39.opt-2.pyc204370644editdlrm
socket.cpython-39.pyc290000644editdlrm
socketserver.cpython-39.opt-1.pyc255150644editdlrm
socketserver.cpython-39.opt-2.pyc147990644editdlrm
socketserver.cpython-39.pyc255150644editdlrm
sre_compile.cpython-39.opt-1.pyc149590644editdlrm
sre_compile.cpython-39.opt-2.pyc145450644editdlrm
sre_compile.cpython-39.pyc151540644editdlrm
sre_constants.cpython-39.opt-1.pyc63360644editdlrm
sre_constants.cpython-39.opt-2.pyc59110644editdlrm
sre_constants.cpython-39.pyc63360644editdlrm
sre_parse.cpython-39.opt-1.pyc217720644editdlrm
sre_parse.cpython-39.opt-2.pyc217240644editdlrm
sre_parse.cpython-39.pyc218090644editdlrm
ssl.cpython-39.opt-1.pyc451060644editdlrm
ssl.cpython-39.opt-2.pyc341220644editdlrm
ssl.cpython-39.pyc451060644editdlrm
stat.cpython-39.opt-1.pyc43720644editdlrm
stat.cpython-39.opt-2.pyc35890644editdlrm
stat.cpython-39.pyc43720644editdlrm
statistics.cpython-39.opt-1.pyc317840644editdlrm
statistics.cpython-39.opt-2.pyc159110644editdlrm
statistics.cpython-39.pyc319780644editdlrm
string.cpython-39.opt-1.pyc71650644editdlrm
string.cpython-39.opt-2.pyc60590644editdlrm
string.cpython-39.pyc71650644editdlrm
stringprep.cpython-39.opt-1.pyc99460644editdlrm
stringprep.cpython-39.opt-2.pyc97280644editdlrm
stringprep.cpython-39.pyc99860644editdlrm
struct.cpython-39.opt-1.pyc3060644editdlrm
struct.cpython-39.opt-2.pyc3060644editdlrm
struct.cpython-39.pyc3060644editdlrm
subprocess.cpython-39.opt-1.pyc443100644editdlrm
subprocess.cpython-39.opt-2.pyc322720644editdlrm
subprocess.cpython-39.pyc443860644editdlrm
sunau.cpython-39.opt-1.pyc168170644editdlrm
sunau.cpython-39.opt-2.pyc122270644editdlrm
sunau.cpython-39.pyc168170644editdlrm
symbol.cpython-39.opt-1.pyc25790644editdlrm
symbol.cpython-39.opt-2.pyc25030644editdlrm
symbol.cpython-39.pyc25790644editdlrm
symtable.cpython-39.opt-1.pyc110880644editdlrm
symtable.cpython-39.opt-2.pyc103590644editdlrm
symtable.cpython-39.pyc111660644editdlrm
sysconfig.cpython-39.opt-1.pyc162040644editdlrm
sysconfig.cpython-39.opt-2.pyc138260644editdlrm
sysconfig.cpython-39.pyc162040644editdlrm
tabnanny.cpython-39.opt-1.pyc70650644editdlrm
tabnanny.cpython-39.opt-2.pyc61320644editdlrm
tabnanny.cpython-39.pyc70650644editdlrm
tarfile.cpython-39.opt-1.pyc737630644editdlrm
tarfile.cpython-39.opt-2.pyc585050644editdlrm
tarfile.cpython-39.pyc737780644editdlrm
telnetlib.cpython-39.opt-1.pyc183310644editdlrm
telnetlib.cpython-39.opt-2.pyc108290644editdlrm
telnetlib.cpython-39.pyc183310644editdlrm
tempfile.cpython-39.opt-1.pyc236560644editdlrm
tempfile.cpython-39.opt-2.pyc171300644editdlrm
tempfile.cpython-39.pyc236560644editdlrm
textwrap.cpython-39.opt-1.pyc134630644editdlrm
textwrap.cpython-39.opt-2.pyc62540644editdlrm
textwrap.cpython-39.pyc135210644editdlrm
this.cpython-39.opt-1.pyc12590644editdlrm
this.cpython-39.opt-2.pyc12590644editdlrm
this.cpython-39.pyc12590644editdlrm
threading.cpython-39.opt-1.pyc417160644editdlrm
threading.cpython-39.opt-2.pyc245290644editdlrm
threading.cpython-39.pyc421810644editdlrm
timeit.cpython-39.opt-1.pyc117560644editdlrm
timeit.cpython-39.opt-2.pyc59020644editdlrm
timeit.cpython-39.pyc117560644editdlrm
token.cpython-39.opt-1.pyc24960644editdlrm
token.cpython-39.opt-2.pyc24630644editdlrm
token.cpython-39.pyc24960644editdlrm
tokenize.cpython-39.opt-1.pyc171370644editdlrm
tokenize.cpython-39.opt-2.pyc133730644editdlrm
tokenize.cpython-39.pyc171650644editdlrm
trace.cpython-39.opt-1.pyc197590644editdlrm
trace.cpython-39.opt-2.pyc167440644editdlrm
trace.cpython-39.pyc197590644editdlrm
traceback.cpython-39.opt-1.pyc204400644editdlrm
traceback.cpython-39.opt-2.pyc114870644editdlrm
traceback.cpython-39.pyc204400644editdlrm
tracemalloc.cpython-39.opt-1.pyc179350644editdlrm
tracemalloc.cpython-39.opt-2.pyc165220644editdlrm
tracemalloc.cpython-39.pyc179350644editdlrm
tty.cpython-39.opt-1.pyc10780644editdlrm
tty.cpython-39.opt-2.pyc9690644editdlrm
tty.cpython-39.pyc10780644editdlrm
types.cpython-39.opt-1.pyc92360644editdlrm
types.cpython-39.opt-2.pyc80140644editdlrm
types.cpython-39.pyc92360644editdlrm
typing.cpython-39.opt-1.pyc718050644editdlrm
typing.cpython-39.opt-2.pyc505570644editdlrm
typing.cpython-39.pyc719350644editdlrm
uu.cpython-39.opt-1.pyc38470644editdlrm
uu.cpython-39.opt-2.pyc36030644editdlrm
uu.cpython-39.pyc38470644editdlrm
uuid.cpython-39.opt-1.pyc223970644editdlrm
uuid.cpython-39.opt-2.pyc146840644editdlrm
uuid.cpython-39.pyc225100644editdlrm
warnings.cpython-39.opt-1.pyc131660644editdlrm
warnings.cpython-39.opt-2.pyc108910644editdlrm
warnings.cpython-39.pyc136050644editdlrm
wave.cpython-39.opt-1.pyc178440644editdlrm
wave.cpython-39.opt-2.pyc118520644editdlrm
wave.cpython-39.pyc178730644editdlrm
weakref.cpython-39.opt-1.pyc202710644editdlrm
weakref.cpython-39.opt-2.pyc169860644editdlrm
weakref.cpython-39.pyc202850644editdlrm
webbrowser.cpython-39.opt-1.pyc175650644editdlrm
webbrowser.cpython-39.opt-2.pyc150860644editdlrm
webbrowser.cpython-39.pyc175820644editdlrm
xdrlib.cpython-39.opt-1.pyc82430644editdlrm
xdrlib.cpython-39.opt-2.pyc77580644editdlrm
xdrlib.cpython-39.pyc82430644editdlrm
zipapp.cpython-39.opt-1.pyc59850644editdlrm
zipapp.cpython-39.opt-2.pyc48090644editdlrm
zipapp.cpython-39.pyc59850644editdlrm
zipfile.cpython-39.opt-1.pyc598670644editdlrm
zipfile.cpython-39.opt-2.pyc508790644editdlrm
zipfile.cpython-39.pyc598880644editdlrm
zipimport.cpython-39.opt-1.pyc171590644editdlrm
zipimport.cpython-39.opt-2.pyc136410644editdlrm
zipimport.cpython-39.pyc172370644editdlrm
_aix_support.cpython-39.opt-1.pyc30460644editdlrm
_aix_support.cpython-39.opt-2.pyc16910644editdlrm
_aix_support.cpython-39.pyc30460644editdlrm
_bootlocale.cpython-39.opt-1.pyc12170644editdlrm
_bootlocale.cpython-39.opt-2.pyc9920644editdlrm
_bootlocale.cpython-39.pyc12270644editdlrm
_bootsubprocess.cpython-39.opt-1.pyc22450644editdlrm
_bootsubprocess.cpython-39.opt-2.pyc20160644editdlrm
_bootsubprocess.cpython-39.pyc22450644editdlrm
_collections_abc.cpython-39.opt-1.pyc317310644editdlrm
_collections_abc.cpython-39.opt-2.pyc262410644editdlrm
_collections_abc.cpython-39.pyc317310644editdlrm
_compat_pickle.cpython-39.opt-1.pyc54350644editdlrm
_compat_pickle.cpython-39.opt-2.pyc54350644editdlrm
_compat_pickle.cpython-39.pyc54880644editdlrm
_compression.cpython-39.opt-1.pyc41980644editdlrm
_compression.cpython-39.opt-2.pyc39840644editdlrm
_compression.cpython-39.pyc41980644editdlrm
_markupbase.cpython-39.opt-1.pyc76260644editdlrm
_markupbase.cpython-39.opt-2.pyc72480644editdlrm
_markupbase.cpython-39.pyc77770644editdlrm
_osx_support.cpython-39.opt-1.pyc115820644editdlrm
_osx_support.cpython-39.opt-2.pyc88920644editdlrm
_osx_support.cpython-39.pyc115820644editdlrm
_pydecimal.cpython-39.opt-1.pyc1606130644editdlrm
_pydecimal.cpython-39.opt-2.pyc789960644editdlrm
_pydecimal.cpython-39.pyc1606130644editdlrm
_pyio.cpython-39.opt-1.pyc743670644editdlrm
_pyio.cpython-39.opt-2.pyc515700644editdlrm
_pyio.cpython-39.pyc743870644editdlrm
_py_abc.cpython-39.opt-1.pyc46340644editdlrm
_py_abc.cpython-39.opt-2.pyc34210644editdlrm
_py_abc.cpython-39.pyc46560644editdlrm
_sitebuiltins.cpython-39.opt-1.pyc35010644editdlrm
_sitebuiltins.cpython-39.opt-2.pyc29770644editdlrm
_sitebuiltins.cpython-39.pyc35010644editdlrm
_strptime.cpython-39.opt-1.pyc160150644editdlrm
_strptime.cpython-39.opt-2.pyc122870644editdlrm
_strptime.cpython-39.pyc160150644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-1.pyc307880644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.opt-2.pyc307880644editdlrm
_sysconfigdata__linux_x86_64-linux-gnu.cpython-39.pyc307880644editdlrm
_threading_local.cpython-39.opt-1.pyc65060644editdlrm
_threading_local.cpython-39.opt-2.pyc31860644editdlrm
_threading_local.cpython-39.pyc65060644editdlrm
_weakrefset.cpython-39.opt-1.pyc77240644editdlrm
_weakrefset.cpython-39.opt-2.pyc77240644editdlrm
_weakrefset.cpython-39.pyc77240644editdlrm
__future__.cpython-39.opt-1.pyc41260644editdlrm
__future__.cpython-39.opt-2.pyc21540644editdlrm
__future__.cpython-39.pyc41260644editdlrm
__phello__.foo.cpython-39.opt-1.pyc1290644editdlrm
__phello__.foo.cpython-39.opt-2.pyc1290644editdlrm
__phello__.foo.cpython-39.pyc1290644editdlrm
Edit: /usr/lib64/python3.9/__pycache__/pydoc.cpython-39.opt-1.pyc (85428B)
a ´i¬ã@s*dZdgZdZdZdZddlZddlZddlZddl Zddl Zddl Z ddl Z ddl Z ddlZddlZddlZddlZddlZddlZddlZddlZddlZddlZddlmZddlmZdd lmZd d „Zd d „Z dd„Z!dd„Z"dd„Z#dd„Z$dd„Z%dd„Z&dd„Z'dd„Z(dd„Z)d d!„Z*e +d"ej,¡Z-d#d$„Z.d%d&„Z/d'd(„Z0d)d*„Z1d‚d+d,„Z2d-d.„Z3d/d0„Z4d1d2„Z5d3d4„Z6ifd5d6„Z7Gd7d8„d8e8ƒZ9d9d:„Z:difd;d<„Z;Gd=d>„d>ƒZGdCdD„dDeƒZ?GdEdF„dFe<ƒZ@GdGdH„dHe@ƒZAdIdJ„aBdKdL„ZCdMdN„ZDdOdP„ZEdQdR„ZFdSdT„ZGdUdV„ZHdWdX„ZIdYdZ„ZJdƒd[d\„ZKe@ƒZLeAƒZMe>ƒZNd„d]d^„ZOd…d`da„ZPd†dbdc„ZQd‡ddde„ZRdˆdgdh„ZSGdidj„djƒZTeTƒZUGdkdl„dlƒZVdmdn„ZWdodp„ZXd‰drds„ZYdŠdtdudvœdwdx„ZZdydz„Z[d{d|„Z\d}d~„Z]dd€„Z^e_d�k�r&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 2001zÔGuido 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.Ú.)ÚsysÚpathÚosÚabspathÚnormcaseÚisdirÚappend)ÚdirsZnormdirsÚdirÚnormdir©rú/usr/lib64/python3.9/pydoc.pyÚpathdirsRs    rcCst |¡ot|tjƒ S©N)ÚinspectZisclassÚ isinstanceÚtypesÚ GenericAlias©ÚobjectrrrÚ_isclass^srcCsNtj |j¡}|durdS|j d¡dd…D]}t||ƒ}q.t|ƒsJdS|S)Nréÿÿÿÿ)rÚmodulesÚgetÚ __module__Ú __qualname__ÚsplitÚgetattrr)ÚfuncÚclsÚnamerrrÚ _findclassas r&c Cs¼t |¡rH|jj}|j}t|ƒr>tt||dƒdƒ|jur>|}n|j}�n"t |¡r||j}t |ƒ}|dusvt||ƒ|urzdSnît  |¡r¼|j}|j}t|ƒr´|j d||j kr´|}n|j}n®t |t ƒrö|j}|j}t |ƒ}|dusðt||ƒ|urôdSntt |¡�st |¡�rf|j}|j}t||ƒ|u�r.dSt |¡�rjt|ddƒ}t |tƒ�rj||v�rj||SndS|jD]F}ztt||ƒƒ}Wnt�y Y�qpYn0|du�rp|S�qpdS)NÚ__func__rÚ __slots__)rÚismethodr'Ú__name__Ú__self__rr"Ú __class__Ú isfunctionr&Ú isbuiltinr rÚpropertyÚfgetZismethoddescriptorÚisdatadescriptorÚ __objclass__ÚismemberdescriptorÚdictÚ__mro__Ú _getowndocÚAttributeError)Úobjr%Úselfr$r#ÚslotsÚbaseÚdocrrrÚ_finddocksZ ÿ   ÿ        r=cCsdzJt |d¡}|durWdS|turFt|ƒj}t|tƒrF||krFWdS|WSty^YdS0dS)zUGet the documentation string for an object if it is not inherited from its class.Ú__doc__N)rÚ__getattribute__Útyper>rÚstrr7)r8r<Ztypedocrrrr6žs   r6c CsNt|ƒ}|dur6z t|ƒ}Wnttfy4YdS0t|tƒsDdSt |¡S)zùGet 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)r6r=r7Ú TypeErrorrrArZcleandoc)rr<rrrÚ_getdoc­s  rCcCs,t|ƒpt |¡}|r(t dd| ¡¡p*dS)z-Get the doc string or comments for an object.z^ * Ú)rCrZ getcommentsÚreÚsubÚrstrip)rÚresultrrrÚgetdoc½srIcCsf| ¡ d¡}t|ƒdkr&|ddfSt|ƒdkrX|d ¡sX|dd |dd…¡fSdd |¡fS)z>Split a doc string into a synopsis line (if any) and the rest.Ú érrDéN)Ústripr!ÚlenrGÚjoin)r<ÚlinesrrrÚsplitdocÂs   rQcCs"|j}|j|kr|jd|}|S)z@Get a class name and qualify it with a module name if necessary.r)r*r)rÚmodnamer%rrrÚ classnameËs rScCs<t |¡p8t|ƒp8t |¡p8t |¡p8t |¡p8t |¡ S)z>Check if an object is of a type that probably means it's data.)rÚismodulerÚ isroutineZisframeZ istracebackZiscoderrrrÚisdataÒsÿÿþþrVcGs.|r*|d | |d¡¡}|dd…}q|S)z/Do a series of global replacements on a string.rKrrLN)rOr!)ÚtextÚpairsrrrÚreplaceØsrYcCsXt|ƒ|krTtd|ddƒ}td|d|ƒ}|d|…d|t|ƒ|d…S|S)zCOmit part of a string if needed to make it fit in a maximum length.rérLNú...)rNÚmax)rWÚmaxlenÚpreZpostrrrÚcramßs  $r_z at 0x[0-9a-f]{6,16}(>+)$cCs t d|¡S)z>Remove the hexadecimal id from a Python object representation.z\1)Ú _re_stripidrF©rWrrrÚstripidèsrbcCs<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"rT)Úfnr9rrrÚ_is_bound_methodís    rdcCs^i}t |tj¡D]\}}d||<q|jD]}| t|ƒ¡q*| ¡D]}t||ƒ||<qF|S©NrK)rÚ getmembersrUÚ __bases__ÚupdateÚ allmethodsÚkeysr")ÚclÚmethodsÚkeyÚvaluer;rrrriús   ricCs8g}g}|D]"}||ƒr$| |¡q | |¡q ||fS)zÊSplit 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Ú predicateZyesÚnoÚxrrrÚ _split_lists  rtcCs\|dvr dS| d¡r$| d¡r$dS| d¡rÚ __builtins__Ú __loader__Ú __version__Ú__path__Ú __author__Ú __package__Ú __credits__r*Ú__date__r r>Ú__spec__r(rÚ __cached__Ú__file__rÚ__rKÚ_Ú_fieldsTN)Ú startswithÚendswithÚhasattr)r%Úallr8rrrÚ visiblenamesr‡cCsXg}t |¡D]D\}}}}t |¡r@d}t|tƒr@|jdur@d}| ||||f¡q|S)zCWrap inspect.classify_class_attrs, with fixup for data descriptors.údata descriptorNúreadonly property)rÚclassify_class_attrsr1rr/Úfsetr )rÚresultsr%Úkindr$rnrrrrŠ)s rŠcsZt|dgƒ‰z‡fdd„tˆƒDƒ‰Wnty<i‰Yn0‡fdd„}|j|d�dS)zGSort the attrs list in-place by _fields and then alphabetically by namer‚csi|]\}}||tˆƒ“qSr)rN)Ú.0Úir%)ÚfieldsrrÚ :óz#sort_attributes..csˆ |dd¡|dfS©Nr)r)Úattr)Ú field_orderrrÚ=r’z!sort_attributes..©rmN)r"Ú enumeraterBÚsort)ÚattrsrZkeyfuncr)r•r�rÚsort_attributes4s    r›cCs:tj |¡r6dD]$}tj tj |d|¡¡rdSqdS)z3Guess whether a path refers to a package directory.)z.pyz.pycÚ__init__TF)r rr ÚisfilerO)rÚextrrrÚ ispackageBs  rŸcCsÀ| ¡}|dd…dks | ¡s0| ¡}|sq0q| ¡}|dd…dkrT|dd…}|dd…dkr¸|dd…}|dd…dkrŒ|dd…}| ¡s¤| ¡}|sŒq¤qŒ| d¡d  ¡}nd}|S) NrKú#ézr"""rZú"""rú\r)ÚreadlinerMr!)ÚfileÚlinerHrrrÚsource_synopsisJs r§c Cs2t |¡j}| |d¡\}}|dus.||k�r.| ttjjƒ¡rJtjj }n | ttjj ƒ¡rftjj }nd}|durÄzt   |¡}Wnty”YdS0|�t|ƒ}Wdƒn1s¸0Yn^|d|ƒ}tjjd||d�}ztj |¡} WnYdS0tjd=| j�r| j ¡dnd}||f||<|S)z.Get the one-line summary out of a module file.)NNNZ__temp__©Úloaderr)r ÚstatÚst_mtimerr„ÚtupleÚ importlibÚ machineryÚBYTECODE_SUFFIXESÚSourcelessFileLoaderÚEXTENSION_SUFFIXESÚExtensionFileLoaderÚtokenizeÚopenÚOSErrorr§ÚutilÚspec_from_file_locationÚ _bootstrapÚ_loadrrr>Ú splitlines) ÚfilenameÚcacheÚmtimeZ lastupdaterHZ loader_clsr¥r©ÚspecÚmodulerrrÚsynopsis[s6    (  ÿ rÀc@s eZdZdZdd„Zdd„ZdS)ÚErrorDuringImportzEErrors that occurred while trying to import something to document it.cCs||_|\|_|_|_dSr)r»ÚexcrnÚtb)r9r»Úexc_inforrrrœ„szErrorDuringImport.__init__cCs|jj}d|j||jfS)Nzproblem in %s - %s: %s)rÂr*r»rn)r9rÂrrrÚ__str__ˆszErrorDuringImport.__str__N)r*rr r>rœrÅrrrrrÁ‚srÁc CsÂtjj}t|dƒ�"}|| t|ƒ¡k}Wdƒn1s:0Ytj |¡}tj  |¡\}}|rttj   ||¡}ntj   ||¡}tjj |||d�}ztj |¡WSt|t ¡ƒ‚Yn0dS)z|tur¬t|j| ƒ‚n(t |t ƒrÆ|j ˆkrÆYdStˆt ¡ƒ‚Yn0ˆ  d¡dd…D],} zt || ƒ}Wqìt�yYdS0qì|S)a½Import 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|]}| ˆd¡r|‘qS)r)rƒ)rŽÚm©rrrÚ ²r’zsafeimport..NrrK)rrÚbuiltin_module_namesÚ __import__rÄrÁrÚ SyntaxErrorr»Ú issubclassÚ ImportErrorr%r!r"r7) rÚ forceloadr¼Zsubsrmr¿rÂrnrÃÚinfoÚpartrrÐrÚ safeimportžs*    rÚc@sfeZdZej ddejdd…¡Zd dd„Z d dd„Z e Z Z Z ZZZe d ¡fd d „ZdS)ÚDocÚ PYTHONDOCSz%https://docs.python.org/%d.%d/libraryNrLcGs‚||f|}zDt |¡r$|j|ŽWSt|ƒr8|j|ŽWSt |¡rN|j|ŽWSWntybYn0t |¡rx|j |ŽS|j |ŽS)z%Generate documentation for an object.) rrTÚ docmodulerÚdocclassrUÚ docroutiner7r1ÚdocdataÚdocother)r9rr%ÚargsrrrÚdocumentÔs  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*rB)r9rr%râÚmessagerrrÚfailäsÿzDoc.failZstdlibcCsÈzt |¡}Wnty$d}Yn0tj d|j¡}tj |¡}t |t tƒƒrÀ|j dvsx|  |¡rÀ|  tj  |d¡¡sÀ|j dvrÀ|  d¡r¦d| d¡|j  ¡f}qÄtj  ||j  ¡d ¡}nd }|S) z*Return the location of module docs or Noneú (built-in)rÜ) ÚerrnoÚ exceptionsÚgcÚimpÚmarshalÚposixÚsignalrÚ_threadÚ zipimportz site-packages)z xml.etreeztest.pydoc_mod)zhttp://zhttps://z%s/%sú/ú.htmlN)rÚ getabsfilerBr ÚenvironrrÜrr rr@r*rƒrOrGÚlower)r9rZbasedirr¥ÚdoclocrrrÚ getdoclocìs(   ÿüûú z Doc.getdocloc)N)N)r*rr r rõrrÚ version_inforÜrãrçrÝrÞrßráÚ docpropertyràÚ sysconfigZget_pathrørrrrrÛÎs ÿÿ  rÛc@sHeZdZdZdd„Zdd„Zdd„Zdd „Zd d „ZeZ d d „Z eZ dS)ÚHTMLReprzBClass for safely making an HTML representation of a Python object.cCs,t |¡d|_|_d|_d|_|_dS©Néé éd©rrœÚmaxlistÚmaxtupleÚmaxdictÚ maxstringÚmaxother©r9rrrrœ s  zHTMLRepr.__init__cCst|ddddddƒS)Nú&z&úz>)rY©r9rWrrrÚescapeszHTMLRepr.escapecCs t ||¡Sr)rrå©r9rrrrråsz HTMLRepr.reprcCsZtt|ƒdƒr@dd t|ƒj ¡¡}t||ƒr@t||ƒ||ƒS| ttt |ƒƒ|j ƒ¡S©Nr*Úrepr_r�) r…r@rOr*r!r"r r_rbrår©r9rsÚlevelZ methodnamerrrÚrepr1s  zHTMLRepr.repr1cCs^t||jƒ}t|ƒ}d|vrJdt|ddƒvrJd|d| |¡|dSt dd| |¡¡S)Nr£ú\\rDÚrrz-((\\[\\abfnrtv\'"]|\\[0-9]..|\\x..|\\u....)+)z\1)r_rrårYr rErF©r9rsrÚtestZtestreprrrrÚ repr_strings þzHTMLRepr.repr_stringcCs@z| ttt|ƒƒ|jƒ¡WS| d|jj¡YS0dS©Nz <%s instance>)r r_rbrårr,r*©r9rsrrrrÚ repr_instance*szHTMLRepr.repr_instanceN) r*rr r>rœr rårrÚrepr_strrZ repr_unicoderrrrrüs rüc@seZdZdZeƒZejZejZdd„Zd1dd„Z d2d d „Z d d „Z dd„Z d3dd„Z dd„Zdd„Zdd„Zdd„Zdd„Zdd„Zdiiifdd „Zd4d!d"„Zd5d#d$„Zddiifd%d&„Zd'd(„Zddiiidfd)d*„Zd6d+d,„ZeZd7d-d.„Zd8d/d0„ZdS)9ÚHTMLDocz'Formatter class for HTML documentation.cCs d||fS)úFormat an HTML page.zÚ Python: %s %s r)r9ÚtitleÚcontentsrrrÚpage;súz HTMLDoc.pagerDcCsd|||||pdfS)zFormat a page heading.a'
 
 
%s
%s
ú r)r9rÚfgcolÚbgcolÚextrasrrrÚheadingEsùzHTMLDoc.headingéNr!c Cs^|durdd|d}d|||f} |r@| d||||f} n| d|||f} | d|S) z Format a section with a heading.Nzr!zzË

zR z( z'
 
%s
%s %s
%s
%s%s%s
r) r9rr"r#rÚwidthZpreludeZ marginaliaZgaprHrrrÚsectionPsû ýÿzHTMLDoc.sectioncGsd|}|j|g|¢RŽS)z$Format a section with a big heading.z%s)r()r9rrârrrÚ bigsectionfszHTMLDoc.bigsectionc Cs&| | ¡¡}t|ddddddddƒ S)z!Format literal preformatted text.ú z rär!rJú
)r Ú expandtabsrYr rrrÚ preformatks ÿzHTMLDoc.preformatr¡cCs‚d}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.rDrKzrr+zz7%s
)rNÚrange)r9ÚlistÚformatZcolsrHÚrowsÚcolr�rrrÚ multicolumnqs   zHTMLDoc.multicolumncCsd|S)Nz%srr rrrÚgrey}r’z HTMLDoc.greycGs*|D] }||vrd|||fSq|S)z:Make a link for an identifier, given name-to-URL mappings.ú%sr)r9r%Zdictsr4rrrÚnamelinkszHTMLDoc.namelinkcCsN|jtj |j¡}}t||ƒrDt||ƒ|urDd|j|t||ƒfSt||ƒS)zMake a link for a class.z%s)r*rrrrr…r"rS)r9rrRr%r¿rrrÚ classlink†s ÿzHTMLDoc.classlinkcCsd|j|jfS)zMake a link for a module.ú%s)r*r rrrÚ modulelinkŽszHTMLDoc.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)r5)r4)r9Z modpkginfor%rrŸÚshadowedÚurlrWrrrÚ modpkglink’s   zHTMLDoc.modpkglinkcCs d||fS)zMake a link to source file.z%sr)r9r;rrrrÚfilelink¡szHTMLDoc.filelinkcCsˆ|p|j}g}d}t d¡}| ||¡} | s0�qh|  ¡\} } | |||| …ƒ¡|  ¡\} } }}}}| rŽ|| ƒ dd¡}| d||f¡nÔ|r¶dt|ƒ}| d||| ƒf¡n¬|rÞdt|ƒ}| d||| ƒf¡n„|�r"|| | d…d k�r| d |  ||¡¡n| d |¡n@|| | d…d k�rP| |  ||||¡¡n| |  ||¡¡| }q| |||d …ƒ¡d   |¡S)zƒMark 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"r5z'http://www.rfc-editor.org/rfc/rfc%d.txtz)https://www.python.org/dev/peps/pep-%04d/rKú(zself.zself.%sNrD) r rEÚcompileÚsearchÚspanr ÚgroupsrYÚintr6rO)r9rWr ÚfuncsÚclassesrlrŒÚhereÚpatternÚmatchÚstartÚendr†ÚschemeZrfcZpepZselfdotr%r;rrrÚmarkup¥s8      zHTMLDoc.markupc Csºd}|D]¨}t|ƒtdƒurŠ|\}}|d}|| ||¡}|r€||fkr€g}|D]} | | | |¡¡qR|dd |¡d}|d}qt|ƒtgƒur|d| |||¡}qd |S) zAProduce HTML for a class tree as given by inspect.getclasstree().rDrz"
r?ú, ú)z
z
%s
z
%s
)r@r7r rOÚ formattree) r9ÚtreerRÚparentrHÚentryÚcÚbasesÚparentsr;rrrrPÐs" ÿ zHTMLDoc.formattreec# s |j}z |j}Wnty&d}Yn0| d¡}g}tt|ƒdƒD],}| dd |d|d…¡||f¡qFd ||dd…¡} d| } z&t  |¡} t j   | ¡} ˆ  | | ¡} WntyÎd} Yn0g}t|dƒ�r2t|jƒ}|dd …d k�r|dd…d k�r|d d… ¡}| d ˆ |¡¡t|d ƒ�rT| ˆ t|jƒ¡¡|�rl| dd |¡} ˆ |¡}|du�rŒdtƒ}nd}ˆ | ddd| |¡}t |tj¡}gi}}t |t¡D]Z\}}|du�sôt |¡�pì||u�rÌt|||ƒ�rÌ| ||f¡d|||<||<�qÌ|D]€\}}|jD]n}|j|j}}tj  !|¡}||k�r:|�r:t||ƒ�r:t"||ƒ|u�r:||v�r:|d|||<||<�q:�q,gi}}t |tj#¡D]p\}}|du�sôt $|¡�sôt |¡|u�rÆt|||ƒ�rÆ| ||f¡d|||<t %|¡�rÆ||||<�qÆg}t |t&¡D]&\}}t|||ƒ�rH| ||f¡�qHˆ 't(|ƒˆj)||¡}|�o’d|}|d|}t|dƒ�rg}t* +|j,¡D]\}}} | ||| df¡�q¼| -¡ˆ .|ˆj/¡}!|ˆ 0ddd|!¡}n.|�r6ˆ .|‡fdd„¡}!|ˆ 0d dd|!¡}|�r¢d!d"„|Dƒ}"ˆ 1t 2|"d¡|¡g}!|D]"\}}|! ˆ 3|||||¡¡�qd|ˆ 0d#dd$d% |!¡¡}|�rîg}!|D]"\}}|! ˆ 3|||||¡¡�q°|ˆ 0d&dd'd% |!¡¡}|�r4g}!|D]\}}|! ˆ 3||¡¡�qü|ˆ 0d(dd)d* |!¡¡}t|d+ƒ�rhˆ 't|j4ƒˆj)¡}!|ˆ 0d,dd|!¡}t|d-ƒ�rœˆ 't|j5ƒˆj)¡}!|ˆ 0d.dd|!¡}|S)/z/Produce HTML documentation for a module object.NrrKz5%srú)%srèrwé ú $Revision: ú$z version %sr|z (%s)rNz-
Module ReferencerDú#ffffffú#7799eezindex
r z.html#z#-z %sz

%s

rxrzPackage Contentsz#aa55cccsˆ |d¡Sre)r9©Útrrrr–9r’z#HTMLDoc.docmodule..ZModulescSsg|] \}}|‘qSrr©rŽrmrnrrrrÑ>r’z%HTMLDoc.docmodule..ZClassesú#ee77aaräZ Functionsz#eeaa77ZDataz#55aa55r+ryZAuthorr{ZCredits)6r*Ú__all__r7r!r.rNr rOrrôÚurllibÚparseÚquoter=rBr…rArwrMr r|røÚlocalsr%rfrTrÚ getmoduler‡rgrrrrr"rUr.r-rVrMrIr-ÚpkgutilÚ iter_modulesrxr™r3r<r)rPÚ getclasstreerãryr{)#r9rr%ÚmodÚignoredr†ÚpartsZlinksr�Z linkednameÚheadrr;r=rØÚversionr÷rHrrFZcdictrmrnr;rRr¿rEZfdictÚdatar<ÚmodpkgsÚimporterÚispkgrÚ classlistrrrrÝãsø    ÿÿ      $     þ  ÿ       ÿ ÿ   ÿ ÿÿÿ ÿ ÿ ÿ ÿ ÿzHTMLDoc.docmodulec s„ˆj}|p |}ˆj}g} | j‰G‡fdd„dƒ} | ƒ‰tt ˆ¡ƒ} t| ƒdkrˆˆ ¡ˆdƒ| D]} ˆdˆ | ˆj ¡ƒqdˆdƒ‡‡‡‡‡‡‡‡fdd„} ‡‡‡‡fd d „}‡‡‡‡‡‡‡‡fd d „}‡fd d„t ˆƒDƒ}i‰|D]j\}}}}d|d|ˆ|<}zt ˆ|ƒ}Wnt �y2Yn0z |ˆ|<Wqìt �yTYqì0qì|�rf| �rn|  ¡‰n |dd‰t|‡fdd„ƒ\}}ˆtju�r²ˆtju�r²|}�qXn"ˆˆu�rÂd}ndˆ ˆˆj ¡}|d7}t|ˆƒ| d||dd„ƒ}| d||dd„ƒ}| d||dd„ƒ}|d||dd„ƒ}|d||d d„ƒ}|d!||d"d„ƒ}|}�qXd# | ¡} ||k�rˆd$||f}nd%|||f}|�rÒg}|D]} | ˆ | ˆj ¡¡�q¤|d&d' |¡}d#}zt ˆ¡}Wntt f�yd(}Yn0|�r2t|ƒ}|�r2|d)k�r2|ˆ |¡d*}tˆƒ}|�rN||�pJd#}ˆ |ˆjˆˆˆ¡}|�ond+|}ˆ |d,d-| d.|¡S)/z.Produce HTML documentation for a class object.cs eZdZdd„Z‡fdd„ZdS)z(HTMLDoc.docclass..HorizontalRulecSs d|_dSr“©Zneedonerrrrrœhsz1HTMLDoc.docclass..HorizontalRule.__init__cs|jrˆdƒd|_dS)Nz
rKrtr©ÚpushrrÚmaybejsz.HTMLDoc.docclass..HorizontalRule.maybeN©r*rr rœrwrrurrÚHorizontalRulegsryrLz&
Method resolution order:
z
%s
ú
c sŽt||ƒ\}}|rŠˆ ¡ˆ|ƒ|D]b\}}}}ztˆ|ƒ}Wn$tydˆˆ ||ˆ¡ƒYn0ˆˆ ||ˆˆˆˆˆ¡ƒˆdƒq&|S)NrJ©rtrwr"Ú Exceptionràrã©ÚmsgršrqÚokr%r�Úhomeclsrn©rFrEÚhrÚmdictrjrrvr9rrÚspillzs  ÿ zHTMLDoc.docclass..spillcsJt||ƒ\}}|rFˆ ¡ˆ|ƒ|D]\}}}}ˆˆ ||ˆ¡ƒq&|Sr©rtrwràr}©r‚rjrvr9rrÚspilldescriptorsŒsz*HTMLDoc.docclass..spilldescriptorsc sžt||ƒ\}}|ršˆ ¡ˆ|ƒ|D]r\}}}}ˆ tˆ|ƒ|ˆ¡}t|ƒ} | s`ˆd|ƒn0ˆ t|ƒˆjˆˆˆ¡} d| } ˆd|| fƒˆdƒq&|S)Nz
%s
z
%sz
%s%s
rJ)rtrwrár"rIrMr-) r~ršrqrr%r�r€rnr;r<r�rrÚ spilldata•s ÿ z#HTMLDoc.docclass..spilldatacs,g|]$\}}}}t|ˆd�r||||f‘qS©)r8©r‡©rŽr%r�r$rnrrrrѧs  þz$HTMLDoc.docclass..r ú-rcs |dˆuS©NrLrr]©Ú thisclassrrr–Àr’z"HTMLDoc.docclass..ú defined hereúinherited from %sz:
z Methods %scSs |ddkS©NrKÚmethodrr]rrrr–Ðr’zClass methods %scSs |ddkS©NrKz class methodrr]rrrr–Òr’zStatic methods %scSs |ddkS©NrKz static methodrr]rrrr–Ôr’zReadonly properties %scSs |ddkS©NrKr‰rr]rrrr–Ör’zData descriptors %scSs |ddkS©NrKrˆrr]rrrr–Ør’zData and other attributes %scSs |ddkS©NrKrorr]rrrr–Úr’rDz*class %sz/%s = class %sú(%s)rNNú()r*z%s
 
z#000000z#ffc8d8rZ)r*rgr rrÚgetmrorNrwr7rrŠr"r|rBÚpopleftrtÚbuiltinsrr›rOÚ signatureÚ ValueErrorrAr rIrMr-r()r9rr%rjrErFrkÚrealnamerUrryÚmror;r„r‡rˆršrmr�r€rnÚanchorÚ inheritedÚtagrrVÚdeclržÚargspecr<r) rFrEr‚rƒrjrrvr9r�rrÞ\s¾  ÿ   ÿ    ÿ  ÿ ÿ ÿ ÿ ÿ ÿ  ÿÿ zHTMLDoc.docclasscCs| d| |¡¡S©z)Format an argument default value as text.ú=)r4rår rrrÚ formatvalueþszHTMLDoc.formatvaluec CsÞ|j}|p |}|r|jpdd|} d} d} t|ƒrŠ|jj} |rZ| |urŠd| | |¡} n0|jdurzd| |jj|¡} nd| | |¡} t |¡sžt |¡r¤d} nd} ||kr¾d | |f}nD|rðt ||g¡|urðd |jd||f}d } n|}d | ||f}d}t  |¡�rjzt  |¡}Wnt t f�y<d}Yn0|�rjt |ƒ}|d k�rjd|}|d d…}|�std}| || |¡| �o–| d| ¡}| �r¨d|S| t|ƒ|j|||¡}|�oÌd|}d||fSdS)z;Produce HTML documentation for a function or method object.rDrŒrú from Nú method of %s instanceú unbound %s methodúasync z$%sz%srKz)%s = %súz$%s lambda rú(...)z'%sz
%s
z
%s
z
%s
%s
)r*rdr+r,r7rÚiscoroutinefunctionÚisasyncgenfunctionÚgetattr_staticrUržrŸrBrAr r4rMrIr-)r9rr%rjrErFrlrkr r¢ÚnoteÚskipdocsÚimclassÚasyncqualifierrZreallinkr¦ržr¥r<rrrrßsl ÿ ÿÿÿ     ÿÿzHTMLDoc.docroutinecCsNg}|j}|r|d|ƒ| t|ƒ|j¡}|r<|d|ƒ|dƒd |¡S)z1Produce html documentation for a data descriptor.z!
%s
z
%s
rzrD)r rMrIr-rO©r9rr%rjrkrŒrvr<rrrràCs  zHTMLDoc.docdatacGs|r d|pd}|| |¡S)z-Produce HTML documentation for a data object.z%s = rD©rå)r9rr%rjrkZlhsrrrráSszHTMLDoc.docothercCs€g}|duri}t |g¡D]<\}}}tdd„|Dƒƒr:q| |d|||vf¡d||<q| ¡| ||j¡}| |dd|¡S)z2Generate an HTML index for a directory of modules.Ncss*|]"}dt|ƒkodknVqdS)iØiÿßN)Úord©rŽZchrrrÚ ]r’z HTMLDoc.index..rDrKr[r`)rgrhÚanyr r™r3r<r))r9rr:rprqr%rrrrrrÚindexXs  z HTMLDoc.index)rD)r&rDNr!)r¡)N)NN)NNN)NN)N)r*rr r>rüÚ_repr_instancerår r r%r(r)r-r3r4r6r7r9r<r=rMrPrÝrÞr©rßràrúrár½rrrrr2s> ÿ  +  y#ÿ A  rc@s4eZdZdZdd„Zdd„Zdd„ZeZdd „Zd S) ÚTextReprzAClass for safely making a text representation of a Python object.cCs,t |¡d|_|_d|_d|_|_dSrýrrrrrrœks  zTextRepr.__init__cCsTtt|ƒdƒr@dd t|ƒj ¡¡}t||ƒr@t||ƒ||ƒSttt|ƒƒ|j ƒSr) r…r@rOr*r!r"r_rbrårrrrrrqs  zTextRepr.repr1cCsHt||jƒ}t|ƒ}d|vrDdt|ddƒvrDd|d||dS|S)Nr£rrDrr)r_rrårYrrrrrxs  zTextRepr.repr_stringcCs4zttt|ƒƒ|jƒWSd|jjYS0dSr)r_rbrårr,r*rrrrrƒszTextRepr.repr_instanceN) r*rr r>rœrrrrrrrrr¿is  r¿c@s~eZdZdZeƒZejZdd„Zddd„Zdd„Z dd d „Z dd d„Z ddd„Z dd„Z ddd„Zddd„ZeZddd„Zd S) ÚTextDocz'Formatter class for text documentation.cCsd dd„|Dƒ¡S)z(Format a string in bold by overstriking.rDcss|]}|d|VqdS)úNrrºrrrr»“r’zTextDoc.bold..)rOr rrrÚbold‘sz TextDoc.boldú cs>|sdS‡fdd„| d¡Dƒ}|r4|d ¡|d<d |¡S)z6Indent text by prepending a given prefix to each line.rDcsg|] }ˆ|‘qSrr©rŽr¦©Úprefixrrrјr’z"TextDoc.indent..rJr)r!rGrO)r9rWrÆrPrrÅrÚindent•szTextDoc.indentcCs$| |¡ ¡}| |¡d|dS)z&Format a section with a given heading.rJr*)rÇrGrÂ)r9rrZclean_contentsrrrr(œszTextDoc.sectionNrDc s d}|D]’}t|ƒtdƒurr|\}}||t|ˆƒ}|rh||fkrh‡fdd„|Dƒ} |dd | ¡}|d}qt|ƒtgƒur|| |ˆ||d¡}q|S) zBRender in text a class tree as returned by inspect.getclasstree().rDrc3s|]}t|ˆƒVqdSr©rS)rŽrT©rRrrr»«r’z%TextDoc.formattree..r™rNrJrÃ)r@rSrOrP) r9rQrRrRrÆrHrSrTrUrVrrÉrrP£s  ÿzTextDoc.formattreec Cs|j}tt|ƒƒ\}}| d||o(d|¡}t|ddƒ}| |¡}|dur`|| d|d¡}|rt|| d|¡}g} t |t¡D]<\} } |dus¦t  | ¡p ||ur„t | ||ƒr„|   | | f¡q„g} t |tj ¡D]B\} } |dusüt  | ¡süt  | ¡|urÔt | ||ƒrÔ|   | | f¡qÔg} t |t¡D]&\} } t | ||ƒ�r(|   | | f¡�q(g}tƒ}t|dƒ�rÈt |j¡D]6\}}}| |¡|�rœ|  |d ¡n |  |¡�qr| ¡|| d d  |¡¡}g}t |tj¡D]0\} } | j |d ¡�rÚ| |v�rÚ|  | ¡�qÚ|�r0| ¡|| d d  |¡¡}| �r”dd„| Dƒ}| t |d¡|¡g}| D]\} } |  | | | |¡¡�q^|| dd  |¡¡}| �rØg}| D]\} } |  | | | |¡¡�q¢|| dd  |¡¡}| �r g}| D]"\} } |  |j| | |dd�¡�qæ|| dd  |¡¡}t|dƒ�rzt|jƒ}|dd…dk�rj|dd…dk�rj|dd… ¡}|| d|¡}t|dƒ�rœ|| dt|j ƒ¡}t|dƒ�r¾|| dt|j!ƒ¡}t|d ƒ�rà|| d!t|j"ƒ¡}zt #|¡}Wnt$�yd"}Yn0|| d#|¡}|S)$z5Produce text documentation for a given module object.ÚNAMEú - raNzMODULE 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 DESCRIPTIONrxú (package)zPACKAGE CONTENTSrJrZ SUBMODULEScSsg|] \}}|‘qSrrr_rrrrÑór’z%TextDoc.docmodule..rKÚCLASSESÚ FUNCTIONSéF)r]ZDATArwrXrYrrZÚVERSIONr|ZDATEryZAUTHORr{ZCREDITSrèÚFILE)%r*rQrIr(r"rørrfrrfr‡r rUr.rVÚsetr…rgrhrxÚaddr™rOrTrƒrPrirãrárArwrMr|ryr{rôrB)r9rr%rjZsynopÚdescrHr†r÷rFrmrnrErorpZ modpkgs_namesrqrRrrZ submodulesrsrrnr¥rrrrݳsª   ÿ ÿ ÿ    ÿ ÿ ÿ     $    zTextDoc.docmodulec sJˆj}|p |}ˆj}ˆjfdd„}||kr:dˆ |¡}nˆ |¡d|}|rlt||ƒ} |dd | ¡}g} | j‰zt ˆ¡} Wnt t fyžd} Yn0| rÈt | ƒ} | rÈ| dkrȈ|| d ƒt ˆƒ} | ràˆ| d ƒt t ˆ¡ƒ}t|ƒd k�r(ˆd ƒ|D]}ˆd ||ƒƒ�qˆd ƒtdd„t ˆ¡Dƒt jd�}t|ƒ}d}|�rªˆdƒ|d|…D]}ˆd |ƒ�ql||k�r¢ˆdt ||ƒdƒˆd ƒG‡fdd„dƒ}|ƒ‰‡‡‡‡‡fdd„}‡‡‡‡fdd„}‡‡‡‡‡fdd„}‡fdd„tˆƒDƒ}|�r|�r(| ¡‰n |dd ‰t|‡fd d!„ƒ\}}ˆtju�rlˆtju�rl|}�qn ˆˆu�r|d"}nd#tˆˆjƒ}t|ˆƒ|d$||d%d!„ƒ}|d&||d'd!„ƒ}|d(||d)d!„ƒ}|d*||d+d!„ƒ}|d,||d-d!„ƒ}|d.||d/d!„ƒ}|}�qd  | ¡} | �s.|d S|d ˆ |  ¡d0¡d S)1z4Produce text documentation for a given class object.cSs t||ƒSrrÈ)rTrÏrrrÚmakenamesz"TextDoc.docclass..makenameúclass z = class r™rNNršrJrLzMethod resolution order:rÃrDcss.|]&}|j d¡s|jdkrt|jƒVqdS)r�r�N)r*rƒrrA)rŽr$rrrr»Csÿz#TextDoc.docclass..r—r¡zBuilt-in subclasses:z ... and z other subclassescs eZdZdd„Z‡fdd„ZdS)z(TextDoc.docclass..HorizontalRulecSs d|_dSr“rtrrrrrœUsz1TextDoc.docclass..HorizontalRule.__init__cs|jrˆdƒd|_dS)NzF----------------------------------------------------------------------rKrtrrurrrwWsz.TextDoc.docclass..HorizontalRule.maybeNrxrrurrryTsryc s€t||ƒ\}}|r|ˆ ¡ˆ|ƒ|D]T\}}}}ztˆ|ƒ}Wn$tydˆˆ ||ˆ¡ƒYq&0ˆˆ ||ˆˆ¡ƒq&|Srr{r}©r‚rjrrvr9rrr„]s ÿzTextDoc.docclass..spillcsJt||ƒ\}}|rFˆ ¡ˆ|ƒ|D]\}}}}ˆˆ ||ˆ¡ƒq&|Srr…r}r†rrr‡nsz*TextDoc.docclass..spilldescriptorsc sˆt||ƒ\}}|r„ˆ ¡ˆ|ƒ|D]\\}}}}t|ƒ}ztˆ|ƒ} Wntyd|j|} Yn0ˆˆj| |ˆd|d�dƒq&|S)NrÏ)r]r<rJ)rtrwrIr"r7Ú__dict__rá) r~ršrqrr%r�r€rnr<r8r×rrrˆws ÿz#TextDoc.docclass..spilldatacs,g|]$\}}}}t|ˆd�r||||f‘qSr‰rŠr‹rrrrцs  þz$TextDoc.docclass..rcs |dˆuSr�rr]rŽrrr–�r’z"TextDoc.docclass..r�r‘z Methods %s: cSs |ddkSr’rr]rrrr–žr’zClass methods %s: cSs |ddkSr”rr]rrrr– r’zStatic methods %s: cSs |ddkSr•rr]rrrr–¢r’zReadonly properties %s: cSs |ddkSr–rr]rrrr–¤r’zData descriptors %s: cSs |ddkSr—rr]rrrr–¦r’zData and other attributes %s: cSs |ddkSr˜rr]rrrr–¨r’z | )r*rgrrÂÚmaprOr rržrŸrBrArIrr›rNÚsortedr@Ú__subclasses__rörŠrœrtr�rrSr›rÇrG)r9rr%rjrkr rUrÕrrVrržr¦r<r¡r;Z subclassesZno_of_subclassesZMAX_SUBCLASSES_TO_DISPLAYZ subclassnameryr„r‡rˆršr£r¤r)r‚rjrrvr9r�rrÞs¶    ý  ÿþ  ÿ   ÿ  ÿ ÿ ÿ ÿ ÿ ÿ zTextDoc.docclasscCsd| |¡Sr§r¸r rrrr©²szTextDoc.formatvaluec Cs”|j}|p |}d}d}t|ƒrn|jj}|rB||urndt||ƒ}n,|jdur`dt|jj|ƒ}ndt||ƒ}t |¡s‚t |¡rˆd} nd} ||kr | |¡} n,|rºt  ||g¡|urºd}| |¡d |} d} t  |¡�r:zt  |¡} Wnt t f�yd} Yn0| �r:t| ƒ} |d k�r:| |¡d } | dd …} | �sDd } | | | |} |�rb| dSt|ƒ�pnd}| d|�oŒ| |¡ ¡dSdS)z;Produce text documentation for a function or method object.rDrrªNr«r¬r­rKú = r®z lambda rr¯rJ)r*rdr+r,rSrr°r±rÂr²rUržrŸrBrArIrÇrG)r9rr%rjrkr r³r´rµr¶rr¦ržr¥r<rrrrß¶sT ÿ ÿ     zTextDoc.docroutinecCsTg}|j}|r$|| |¡ƒ|dƒt|ƒp.d}|rJ|| |¡ƒ|dƒd |¡S)z1Produce text documentation for a data descriptor.rJrD)r rÂrIrÇrOr·rrrràís 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.rÜrDrNr[rJ)rårNrÂrIrÇrA) r9rr%rjrRr]r<rår¦Zchoprrrráýs  zTextDoc.docother)rÃ)NrD)NN)NN)NNN)NNN)NNNNN)r*rr r>r¿r¾rårÂrÇr(rPrÝrÞr©rßràrúrárrrrrÀ‰s   e  7 rÀc@seZdZdZdd„ZdS)Ú _PlainTextDocz2Subclass of TextDoc which overrides string stylingcCs|Srrr rrrr sz_PlainTextDoc.boldN)r*rr r>rÂrrrrrÝ srÝcCstƒat|ƒdS)zCThe first time this is called, determine what kind of pager to use.N)ÚgetpagerÚpagerrarrrrßsrßc sZttjdƒstSttjdƒs tStj ¡r4tj ¡s8tStj d¡pNtj d¡‰ˆr’tj dkrj‡fdd„Stj d¡dvr†‡fd d„S‡fd d„Stj d¡dvr¦tStj dkr¸d d„Sttd ƒrØt  d ¡dkrØdd„Sddl }|  ¡\}}t  |¡zRttd ƒ�r,t  d|¡dk�r,dd„Wt |¡StWt |¡SWt |¡n t |¡0dS)z2Decide what method to use for paging through text.ÚisattyZMANPAGERZPAGERÚwin32cstt|ƒˆƒSr©Ú tempfilepagerÚplainra©Z use_pagerrrr–#r’zgetpager..ZTERM)ZdumbZemacscstt|ƒˆƒSr)Ú pipepagerrärarårrr–%r’cs t|ˆƒSr©rærarårrr–'r’cSstt|ƒdƒS)Nzmore /dev/nullrcSs t|dƒS)NZlessrçrarrrr–-r’Nz more "%s"cSs t|dƒS)NZmorerçrarrrr–4r’)r…rÚstdinÚ plainpagerÚstdoutràr rõrÚplatformrèÚtempfileÚmkstempÚcloseÚunlinkÚttypager)ríÚfdr»rrårrÞs>           ü þrÞcCst dd|¡S)z%Remove boldface formatting from text.z.rD)rErFrarrrrä:sräc Cs®ddl}|j|d|jd�}zVtj|jdd��2}z| |¡WntyNYn0Wdƒn1sd0YWnty‚Yn0z|  ¡WqªWq„ty¦Yq„0q„dS)z3Page through text by feeding it to another program.rNT)ÚshellréÚbackslashreplace)Úerrors) Ú subprocessÚPopenÚPIPEÚioÚ TextIOWrapperréÚwriteÚKeyboardInterruptrµÚwait)rWÚcmdröÚprocÚpiperrrræ>s (  ræc Cs¦ddl}| ¡�‚}tj |d¡}t|ddtjdkr) ríÚTemporaryDirectoryr rrOr´rrìÚdevice_encodingrûrè)rWrþríÚtempdirr»r¥rrrrãUs ÿ þ(rãcCs$ttjddƒpd}| |d¡ |¡S)Nrúutf-8rô)r"rrëÚencodeÚdecode)rWrrrrÚ_escape_stdoutasr c CsÐtt|ƒƒ d¡}z2ddl}tj ¡}| |¡}| |¡dd„}Wn&t t t j fyjd}dd„}Yn0�zDzt tj dd¡ƒ}Wntyœd}Yn0|dkrªd }|d}}tj d |d|…¡d¡||d…�rštj d ¡tj ¡|ƒ} | d v�rtj d ¡�qšn,| d v�rFtj d ||d¡|d}qÔ| dv�rj|||}|dk�rjd}tj dd ||||…¡d¡||}qÔW|�rÌ| ||j|¡n|�rÊ| ||j|¡0dS)z%Page through text on a text terminal.rJrNcSs tj d¡Sre)rrérÈrrrrr–nr’zttypager..cSstj ¡dd…dd…S)NrrK)rrér¤rrrrr–qr’ÚLINESrKéz -- more --)ÚqÚQz )ú rJ)ÚbÚBú)rär r!ÚttyrréÚfilenoZ tcgetattrZ setcbreakrÖr7rùÚUnsupportedOperationrDr rõrrŸrërûrOÚflushZ tcsetattrZ TCSAFLUSH) rWrPrròÚoldZgetcharÚhrZincrTrrrrñfsN              & ÿrñcCstj tt|ƒƒ¡dS)z>Simply print unformatted text. This is the ultimate fallback.N)rrërûrär rarrrrê’srêcCsÚt |¡r>|jtjvr d|jSt|dƒr4d|jSd|jSt |¡rRd|jSt |¡rtd|jj |jj|jfSt  |¡r–d|jj |jj|jfSt |ƒr¨d|jSt  |¡r¼d |jSt  |¡rÐd |jSt|ƒjS) z/Produce a short description of the given thing.zbuilt-in module rxzpackage zmodule zbuilt-in function zgetset descriptor %s.%s.%szmember descriptor %s.%s.%srÖz function zmethod )rrTr*rrÒr…r.Zisgetsetdescriptorr2rr3rr-r)r@)ÚthingrrrÚdescribe–s2          þ  þ     rc Cs¦dd„| d¡Dƒ}d\}}|t|ƒkr\td |d|d…¡|ƒ}|r\||d}}qq\q|rf|}nt}||d…D]*}zt||ƒ}WqvtyžYdS0qv|S)z@Locate an object by name or dotted path, importing as necessary.cSsg|] }|r|‘qSrr)rŽrÙrrrrѳr’zlocate..rr“NrK)r!rNrÚrOr�r"r7)rr×rlr¿ÚnZ nextmodulerrÙrrrÚlocate±s   rcCsVt|tƒr0t||ƒ}|dur(td|ƒ‚||fSt|ddƒ}|t|tƒrL|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*)rrArrÖr")rr×rr%rrrÚresolveÊs  ý rú Python Library Documentation: %scCsÖ|dur t}t||ƒ\}}t|ƒ}t |¡}|rTd|vrT|d|d| d¡…7}n|rn||urn|d|j7}t |¡s¾t|ƒs¾t  |¡s¾t  |¡s¾t |ƒs¾t |dƒr®|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*)rWrrrrfÚrfindr*rTrrUr1rCr…rr@rã)rrr×Zrendererrr%rÔr¿rrrÚ render_docØs.    ÿþýü r c Cshz2|durtt|||ƒƒn| t|||tƒ¡Wn0ttfyb}zt|ƒWYd}~n d}~00dS)zCDisplay text documentation, given an object or a path to an object.N)rßr rûÚ plaintextrÖrÁÚprint)rrr×Úoutputrnrrrr<ós r<c Csªztt||ƒ\}}t t|ƒt ||¡¡}t|dddd��}| |¡Wdƒn1sZ0Ytd|dƒWn0tt fy¤}zt|ƒWYd}~n d}~00dS)zd?d@dAdBdCdDdEdFdGdHdIdJdKdLdLdMdNdOdPdQddRdSdSdTdUdVdWdXdYdZd[d\d]d^d_d_d`dadbdcdddedfdgdhdidjdkdldmdndodpdqdrdsdtdudvdwdxdydzd{dd d|d}d~dd€œIZ d¦d‚dƒ„Z ed„d…„ƒZed†d‡„ƒZdˆd‰„ZeƒZefdŠd‹„ZdŒd�„ZdŽd�„Zd�d‘„Zd’d“„Zd§d–d—„Zd˜d™„Zdšd›„Zdœd�„Zd¨dždŸ„Zd©d d¡„Zd¢d£„Zdªd¤d¥„Z d�S)«ÚHelperrDÚBOOLEANÚwith)ÚassertrD)ÚasyncrD)ÚawaitrD)Úbreakú while for)ÚclasszCLASSES SPECIALMETHODS)Úcontinuer1)ÚfunctionrD)ÚdelÚ BASICMETHODSÚif)Úelser1Útry)Úforzbreak continue whileÚimport)Úglobalznonlocal NAMESPACES)r7Ú TRUTHVALUE)r;ÚMODULES)ÚinÚSEQUENCEMETHODSÚ COMPARISON)ÚlambdarÎ)Únonlocalzglobal NAMESPACES)ÚpassrD)ÚraiseÚ EXCEPTIONS)ÚreturnrÎ)r9rF)Úwhilezbreak continue if TRUTHVALUE)r,z CONTEXTMANAGERS EXCEPTIONS yield)ÚyieldrD)$ÚFalseÚNoneÚTrueÚ__peg_parser__ÚandÚasr-r.r/r0r2r3Údefr5Úelifr8ÚexceptÚfinallyr:Úfromr<r7r;r?ÚisrBrCÚnotÚorrDrErGr9rHr,rIcCsg|]}dD] }||‘q qS)©ú'r>r)rŽÚpr rrrrÑEr’zHelper.)rÚfrÚurYz'''r>r¢)ú+rŒÚ*ú**ròz//ú%ú<<ú>>rú|ú^ú~r r ú<=ú>=ú==ú!=ú<>)r r rfrgrhrirj)rŒre) z+=z-=z*=z/=z%=z&=z|=z^=z<<=z>>=z**=z//=)rarbrrcrdre)ÚjÚJ)ÚSTRINGSÚ OPERATORSrAÚUNARYÚAUGMENTEDASSIGNMENTÚBITWISEÚCOMPLEXzOPERATORS FORMATTINGÚPOWERzTUPLES LISTS FUNCTIONSz ATTRIBUTES FLOAT MODULES OBJECTSÚELLIPSISzSLICINGS DICTIONARYLITERALSz def classrmÚ PRIVATENAMESzPRIVATENAMES SPECIALMETHODSZ BACKQUOTESzTUPLES FUNCTIONS CALLSzLISTS SUBSCRIPTS SLICINGS)r`r_ú,rr[ú:ú@r£r�r€ú`r?rOú[ú]rä)rzRSTRINGS UNICODE NUMBERS SEQUENCES MAPPINGS FUNCTIONS CLASSES MODULES FILES inspect)Ústringsz4str UNICODE SEQUENCES STRINGMETHODS FORMATTING TYPES)zstring-methodszSTRINGS FORMATTING)Z formatstringsrn)r|z: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 TYPESÚTYPES)zbltin-null-objectrD)zbltin-ellipsis-objectÚSLICINGS)Z specialattrsrD)rz!class SPECIALMETHODS PRIVATENAMES)Z typesmodulesr;)zoperator-summaryz˜lambda or and not in is BOOLEAN COMPARISON BITWISE SHIFTING BINARY FORMATTING POWER UNARY ATTRIBUTES SUBSCRIPTS SLICINGS CALLS TUPLES LISTS DICTIONARIESÚ EXPRESSIONS)Zobjectsr~)Z specialnameszbBASICMETHODS ATTRIBUTEMETHODS CALLABLEMETHODS SEQUENCEMETHODS MAPPINGMETHODS NUMBERMETHODS CLASSES)Z customizationzhash repr str SPECIALMETHODS)zattribute-accesszATTRIBUTES SPECIALMETHODS)zcallable-typeszCALLS SPECIALMETHODS)úsequence-typesz(SEQUENCES SEQUENCEMETHODS SPECIALMETHODS)r�zMAPPINGS SPECIALMETHODS)z numeric-typesz*NUMBERS AUGMENTEDASSIGNMENT SPECIALMETHODS)Z execmodelz%NAMESPACES DYNAMICFEATURES EXCEPTIONS)Znamingz3global nonlocal ASSIGNMENT DELETION DYNAMICFEATURES)zdynamic-featuresrDÚ NAMESPACES)rêztry except finally raise)Z conversionsrD)Z identifierszkeywords SPECIALIDENTIFIERS)z id-classesrD)zatom-identifiersrD)z atom-literalsz=STRINGS NUMBERS TUPLELITERALS LISTLITERALS DICTIONARYLITERALSÚ SEQUENCES)Z exprlistszTUPLES LITERALS)ztypesseq-mutableÚ LISTLITERALS)ZlistszLISTS LITERALS)Z typesmappingÚDICTIONARYLITERALS)r4zDICTIONARIES LITERALS)zattribute-referencesz(getattr hasattr setattr ATTRIBUTEMETHODS)Z subscriptionsr@)Zslicingsr@)Zcallsr€)Zpowerr€)Zunaryr€)Úbinaryr€)Zshiftingr€)Zbitwiser€)Z comparisonszEXPRESSIONS BASICMETHODS)ZbooleanszEXPRESSIONS TRUTHVALUEr-)Z assignmentrp)Z augassignÚ NUMBERMETHODSr5rG)Zcompoundzfor while break continue)Útruthz if while and or not BASICMETHODS)ZdebuggerZpdb)zcontext-managersr,)Ir~rmZ STRINGMETHODSZ FORMATTINGÚUNICODEZNUMBERSZINTEGERÚFLOATrrrƒZMAPPINGSrÎZMETHODSZ CODEOBJECTSZ TYPEOBJECTSZ FRAMEOBJECTSZ TRACEBACKSÚNONErtZSPECIALATTRIBUTESrÍr>ZPACKAGESr€rnZ PRECEDENCEZOBJECTSZSPECIALMETHODSr6ZATTRIBUTEMETHODSZCALLABLEMETHODSr@ZMAPPINGMETHODSr‡Z EXECUTIONr‚ZDYNAMICFEATURESZSCOPINGZFRAMESrFZ CONVERSIONSZ IDENTIFIERSZSPECIALIDENTIFIERSruZLITERALSZTUPLESZ TUPLELITERALSZLISTSr„r}r…Z ATTRIBUTESZ SUBSCRIPTSrZCALLSrsroZBINARYZSHIFTINGrqrAr+Z ASSERTIONZ ASSIGNMENTrpZDELETIONZ RETURNINGZ IMPORTINGZ CONDITIONALZLOOPINGr=Z DEBUGGINGZCONTEXTMANAGERSNcCs||_||_dSr)Ú_inputÚ_output)r9Úinputr#rrrrœÀszHelper.__init__cCs |jp tjSr)rŒrrérrrrrŽÄsz Helper.inputcCs |jp tjSr)r�rrërrrrr#Èsz Helper.outputcCs2t ¡dddkr|ƒdSd|jj|jjfS)NrKrZú?rDz<%s.%s instance>)rÚstackr,rr rrrrÚ__repr__Ìs ÿzHelper.__repr__cCs6||jur| |¡n| ¡| ¡|j d¡dS)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. )Ú_GoInteractiverÚintroÚinteractr#rû©r9ZrequestrrrÚ__call__Ôs   zHelper.__call__c CsÂ|j d¡z| d¡}|s Wq¾Wnttfy<Yq¾Yn0| ¡}t|ƒdkr’|d|dkrndvr’nn |d|dd…vr’|dd…}| ¡dvr q¾|d kr²| ¡q |  |¡q dS) NrJzhelp> rLrrrXrK)r Úquitr) r#rûÚgetlinerüÚEOFErrorrMrNrör“rr•rrrr”ás    ,ÿ  zHelper.interactcCs8|jtjurt|ƒS|j |¡|j ¡|j ¡SdS)z.Read one line, using input() when appropriate.N)rŽrrér#rûrr¤)r9Úpromptrrrr˜ös    zHelper.getlinecCs<t|ƒtdƒu�r| ¡}|dkr,| ¡nÚ|dkr>| ¡nÈ|dkrP| ¡n¶|dkrb| ¡n¤|dd…dkr†| | ¡d¡n€||jvrœ| |¡nj|d vr´t t |ƒd ƒnR||j vrÊ|  |¡n<||j vrà|  |¡n&|röt |d |jd �nt td |jd �n$t|tƒ�r|ƒnt |d |jd �|j d ¡dS) NrDÚkeywordsÚsymbolsÚtopicsrézmodules rK)rLrJrKz Help on %s:)r#rJ)r@rMÚ listkeywordsÚ listsymbolsÚ listtopicsÚ listmodulesr!rœÚ showsymbolr<Úevalr›Ú showtopicr�r�rArr*r#rûr•rrrrÿs$z Helper.helpcCs$|j d dtjdd…¡¡dS)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.%drL)r#rûr0rrùrrrrr“s òz Helper.intror¡éPc Cs¬tt|ƒƒ}||}t|ƒ|d|}t|ƒD]v}t|ƒD]\}|||}|t|ƒkr<|j ||¡||dkr<|j dd|dt||ƒ¡q<|j d¡q0dS)NrKrärJ)r/rÚrNr.r#rû) r9ÚitemsÚcolumnsr'Zcolwr1Úrowr2r�rrrr/%s      &z Helper.listcCs |j d¡| |j ¡¡dS)NzN Here is a list of the Python keywords. Enter any keyword to get more help. )r#rûr/r›rjrrrrrŸ2s zHelper.listkeywordscCs |j d¡| |j ¡¡dS)Nzx Here is a list of the punctuation symbols which Python assigns special meaning to. Enter any symbol to get more help. )r#rûr/rœrjrrrrr 9s zHelper.listsymbolscCs |j d¡| |j ¡¡dS)NzN Here is a list of available topics. Enter any topic name to get more help. )r#rûr/r�rjrrrrr¡As zHelper.listtopicsc Cs,z ddl}Wn ty,|j d¡YdS0|j ||j |¡¡}|s`|j dt|ƒ¡dSt|ƒtdƒur||  ||¡S|\}}z|jj|}Wn(t y¼|j dt|ƒ¡YdS0|  ¡d}|rÞ|pÔdd|}|�r ddl }dd  | ¡¡d} | | d ¡} |d d  | ¡7}t|ƒdS) Nrút Sorry, topic and keyword documentation is not available because the module "pydoc_data.topics" could not be found. zno documentation found for %s rDrJräúRelated help topics: rNéHz %s )Úpydoc_data.topicsrÖr#rûr�rr›rår@r¥ÚKeyErrorrMÚtextwraprOr!Úwraprß) r9ÚtopicÚ more_xrefsÚ pydoc_dataÚtargetÚlabelÚxrefsr<r¯rWZ wrapped_textrrrr¥Hs4       zHelper.showtopiccCsŠz ddl}Wnty YdS0|j ||j |¡¡}|sDtdƒ‚t|tƒrZ| ||¡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)rªrDzcould not find topicrDrä) r­rÖr�rr›rŸrrAÚ _gettopic)r9r±r²r³r´rµr¶r<rrrr·hs      zHelper._gettopiccCs*|j|}| d¡\}}}| ||¡dS)Nrä)rœÚ partitionr¥)r9Úsymbolr´r±r�r¶rrrr£ƒs zHelper.showsymbolcsv|r |j d |¡¡t|ƒnR|j d¡i}|fdd„‰‡fdd„}tƒjˆ|d�| | ¡¡|j d¡dS) 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$|dd…dkr$|dd…d}| d¡dkr:d||<dS)Né÷ÿÿÿú .__init__rÌrrrK)Úfind)rrRrÔrrrrÚcallback–sz$Helper.listmodules..callbackcsˆd|dƒdSrrrÉ©r½rrÚonerror›sz#Helper.listmodules..onerror©r¿z‰ Enter any module name to get more help. Or, type "modules spam" to search for modules whose name or summary contain the string "spam". )r#rûr0ÚaproposÚ ModuleScannerÚrunr/rj)r9rmrr¿rr¾rr¢ˆs ü    zHelper.listmodules)NN)r¡r¦)rD)rD)rD)!r*rr r›Z _strprefixesZ_symbols_inverserœr§r±Zsymbols_r¹rr�rœr/rŽr#r‘rr’r–r”r˜rr“r/rŸr r¡r¥r·r£r¢rrrrr*sDÜ(÷ ñ   ¬W       r*c@seZdZdZddd„ZdS)rÂz7An interruptible scanner that searches module synopses.Nc Cs|r | ¡}d|_i}tjD]p}|dkrd||<|durF|d|dƒqt|ƒjpRd}| d¡d}|d|}| ¡ |¡dkr|d||ƒqtj |d�D�]V\} }} |jr²�qô|durÈ|d|dƒqšzt  | |¡} Wnt yîYqšYn0| j } t | d ƒ�rjz|  |¡} Wn&t�y6|�r.||ƒYqšYn0tt | ¡ƒ�pJd}t | d ƒ�rd|  |¡}nd}n^ztj | ¡}Wn&t�y |�r˜||ƒYqšYn0|j�r¸|j ¡dnd}t|d dƒ}|d|}| ¡ |¡dkrš||||ƒqš|�r|ƒdS) NFÚ__main__rKrDrJrrËrÀÚ get_sourceÚ get_filenamer)rör—rrÒrÓr>r!r¼rgr&Ú _get_specrÔr©r…rÅr|r§rùÚStringIOrÆr­r¸r¹rÖrºr")r9r½rmZ completerr¿ÚseenrRr%rÔrqrrr¾r©Úsourcerr¿rrrrés^            zModuleScanner.run)NNN)r*rr r>rÃrrrrr¦srÂcCsXdd„}dd„}t ¡�,t d¡tƒj|||d�Wdƒn1sJ0YdS)zAPrint all the one-line module summaries that contain a substring.cSs6|dd…dkr |dd…d}t||o.d|ƒdS©Nrºr»rÌz- )r"©rrRrÔrrrr½åszapropos..callbackcSsdSrrrÉrrrr¿észapropos..onerrorÚignorerÀN)ÚwarningsÚcatch_warningsÚfilterwarningsrÂrÃ)rmr½r¿rrrrÁãs   rÁcsšddl‰ddl‰ddl‰ddl‰Gdd„dˆjjƒ‰G‡fdd„dˆjjƒ‰G‡‡‡‡‡fdd„dˆjƒ}||||ƒ}| ¡|j s–|j s–t   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@seZdZdd„Zdd„ZdS)z!_start_server..DocHandlercSsX|j d¡rd}nd}| d¡| dd|¡| ¡|j | |j|¡ d¡¡dS) z¢Process a request from an HTML browser. The URL received is in self.path. Get an HTML page from self.urlhandler and send it. z.cssútext/cssú text/htmléÈz Content-Typez%s; charset=UTF-8rN) rr„Z send_responseZ send_headerZ end_headersZwfilerûÚ urlhandlerr)r9Ú content_typerrrÚdo_GET0 s   ÿÿz(_start_server..DocHandler.do_GETcWsdSrr)r9rârrrÚ log_message@ sz-_start_server..DocHandler.log_messageN)r*rr rÖr×rrrrÚ DocHandler. srØcs(eZdZdd„Z‡fdd„Zdd„ZdS)z _start_server..DocServercSs6||_|j|f|_||_|j ||j|j¡d|_dS©NF)ÚhostÚaddressr½r;rœÚhandlerr—)r9rÚÚportr½rrrrœF s  z)_start_server..DocServer.__init__cs>|js2ˆ |j ¡gggd¡\}}}|r| ¡q| ¡dSre)r—ÚselectÚsocketrZhandle_requestZ server_close)r9ZrdÚwrÚex©rÞrrÚserve_until_quitM s  z1_start_server..DocServer.serve_until_quitcSs |j |¡|jr| |¡dSr)r;Úserver_activater½rrrrräT s z0_start_server..DocServer.server_activateN)r*rr rœrãrärrârrÚ DocServerD s råcs:eZdZ‡fdd„Z‡‡‡‡fdd„Zdd„Zdd„Zd S) z#_start_server..ServerThreadcs2||_||_t|ƒ|_ˆj |¡d|_d|_dSrÙ)rÔrÚrDrÝÚThreadrœÚservingÚerror)r9rÔrÚrÝ)Ú threadingrrrœ[ s   z,_start_server..ServerThread.__init__c szzJˆjjˆ_ˆˆ_ˆjjˆ_t|jƒˆ_ˆ|j |j |j ƒ}||_ |  ¡Wn*tyt}z||_WYd}~n d}~00dS)zStart the server.N)ÚserverÚ HTTPServerr;rÜræZMessageZ MessageClassÚ staticmethodrÔrÚrÝÚreadyÚ docserverrãr|rè)r9ZdocsvrÚe)rØråÚemailÚhttprrrÃc s    z'_start_server..ServerThread.runcSs,d|_|j|_|j|_d|j|jf|_dS)NTz http://%s:%d/)rçrÚZ server_portrÝr;)r9rêrrrríp sz)_start_server..ServerThread.readycSs&d|j_| ¡d|_d|_d|_dS)z&Stop the server and this thread nicelyTNF)rîr—rOrçr;rrrrÚstopv s z(_start_server..ServerThread.stopN)r*rr rœrÃríròr)rØrårðrñrérrÚ ServerThreadY s  róg{®Gáz„?) Z http.serverZ email.messagerÞrérêZBaseHTTPRequestHandlerrërærJrèrçÚtimeÚsleep)rÔÚhostnamerÝróÚthreadr)rØrårðrñrÞrérÚ _start_serverñs8'   rørÒcs6G‡fdd„dtƒ}|ƒ‰‡fdd„‰‡fdd„‰‡fdd„‰‡fd d „‰‡fd d „‰‡fd d„‰‡fdd„‰‡fdd„‰‡‡‡‡‡‡‡‡fdd„}| d¡rª|dd…}|dk�rtj tj t¡¡}tj ||¡}t|ƒ�}d |  ¡¡WdƒS1�s0Yn|dk�r"||ƒSt d||fƒ‚dS)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. cseZdZ‡fdd„ZdS)z_url_handler.._HTMLDoccsd}d|}d||ˆƒ|fS)rzpydoc_data/_pydoc.cssz1a  Pydoc: %s %s%s
%s
r)r9rrÚcss_pathZcss_link©Ú html_navbarrrr ” sÿÿ ûz#_url_handler.._HTMLDoc.pageN)r*rr r rrúrrÚ_HTMLDoc’ srücs>ˆ dt ¡t ¡dt ¡f¡}d|ˆ tjdd�¡fS)Nz %s [%s, %s]raZ
Python %s
%s
T)Zterse)r rìZpython_versionZ python_buildZpython_compiler)rn©r$rrrû¤ s  þëz!_url_handler..html_navbarcs„dd„}ˆ ddd¡}dd„tjDƒ}ˆ ||¡}|dˆ d dd |¡g}i}tjD]}| ˆ ||¡¡qT| d ¡d d  |¡fS)zModule Index page.cSs d||fS©Nr8r©r%rrrÚ bltinlink sz3_url_handler..html_index..bltinlinkz7Index of Modulesr[r\cSsg|]}|dkr|‘qS)rÄr)rŽr%rrrrÑÈ sÿz4_url_handler..html_index..z

zBuilt-in Modulesr`z|

pydoc by Ka-Ping Yee<ping@lfw.org>zIndex of ModulesrD) r%rrÒr3r)rr r½rO)rr%ÚnamesrrÉrrýrrÚ html_index¿ s"þ ÿ ÿz _url_handler..html_indexc s¼g‰‡fdd„}t ¡�4t d¡dd„}tƒj|||d�Wdƒn1sR0Ydd „}g}ˆ d d d ¡}ˆD]\}}| ||ƒ|¡qz|ˆ d |d dd |¡¡}d|fS)zSearch results page.cs:|dd…dkr |dd…d}ˆ ||o0d|f¡dSrËrorÌ©Z search_resultrrr½Ý sz3_url_handler..html_search..callbackrÍcSsdSrrrÉrrrr¿ä sz2_url_handler..html_search..onerrorrÀNcSs d||fSrþrrÿrrrré sz4_url_handler..html_search..bltinlinkz5Search Resultsr[r\zkey = %sr`ú
zSearch Results) rÎrÏrÐrÂrÃr%r r)rO) rmr½r¿rrŒr%r%rÔrrýrrÚ html_searchØ s$   0þ ÿz!_url_handler..html_searchcsLdd„}ˆ ddd¡}ttj ¡ƒ}ˆ ||¡}|ˆ ddd|¡}d|fS)zIndex of topic texts available.cSs d||fS©Nz%srrÿrrrrù sz4_url_handler..html_topics..bltinlinkú,INDEXr[r\ZTopicsr`)r%rÚr*r�rjr3r))rr%rrrýrrÚ html_topicsö sþ ÿz!_url_handler..html_topicscsLˆ ddd¡}ttj ¡ƒ}dd„}ˆ ||¡}|ˆ ddd|¡}d|fS)zIndex of keywords.rr[r\cSs d||fSrrrÿrrrr sz6_url_handler..html_keywords..bltinlinkZKeywordsr`)r%rÚr*r›rjr3r))r%rrrrýrrÚ html_keywords sþ ÿz#_url_handler..html_keywordscs´t ¡}t||ƒ}| |¡\}}||jvr0d}nd}ˆ d|dd¡}dˆ |¡}ˆ |dd|¡}|r˜t|  ¡ƒ}dd „}ˆ  ||¡}ˆ  d dd|¡}d ||fd   |||f¡fS) zTopic or keyword help page.ZKEYWORDZTOPICrWr[r\z

%s
r`cSs d||fSrrrÿrrrr& sz7_url_handler..html_topicpage..bltinlinkr«z%s %srD) rùrÈr*r·r›r%rMr)rÚr!r3r(rO)r±ÚbufZhtmlhelprr¶rr%rrýrrÚhtml_topicpage s,  þ  ÿ ÿz$_url_handler..html_topicpagecs@t|dd�}|dur$|dkr$tdƒ‚t|ƒ}ˆ ||¡}||fS)NrK)r×rKzcould not find object)rrŸrrã)r;r8rÚcontentrýrrÚ html_getobj/ s   z!_url_handler..html_getobjcsPˆ ddd¡}d ‡fdd„tt|ƒ|ƒDƒ¡}|ˆ |dd|¡}d||fS) Nz,Errorr[r\rc3s|]}ˆ |¡VqdSr)r rÄrýrrr»; r’z3_url_handler..html_error..z#bb0000z Error - %s)r%rOrr@r))r;rÂr%rrýrrÚ html_error7 sþ ÿ ÿz _url_handler..html_errorc sp|}| d¡r|dd…}�z|dvr2ˆƒ\}}nú|dkrFˆƒ\}}næ|dkrZˆƒ\}}nÒd|v�r | d¡\}}}|dkrŠˆ|ƒ\}}n”|d krÄzˆ|ƒ\}}WntyÀˆ|ƒ\}}Yn0nZ|d k�r|dvr∃\}}n2zˆ|ƒ\}}Wn t�yˆ|ƒ\}}Yn0ntd ƒ‚n ˆ|ƒ\}}Wn4t�yb}zˆ||ƒ\}}WYd}~n d}~00ˆ ||¡S) zGenerate an HTML page for url.róNéûÿÿÿ)rDr½r�r›r¨z search?keyz topic?keyzget?keyz bad pydoc url)r„r¸rŸr|r )r;Z complete_urlrr Úopr�rÂ)r$rr rr rr rrrÚ get_html_pageA s>          $z#_url_handler..get_html_pageròrKNrÑrDrÒz"unknown content type %r for url %s) rrƒr rÚdirnameÚrealpathrrOr´Ú readlinesrB)r;rÕrürZ path_hererùÚfpr) r$rr rr rûrr rrÚ _url_handler‰ s*         (    0 rTÚ localhost)Ú open_browserröc Csòddl}tt||ƒ}|jr(t|jƒdS|jrîd}|rB| |j¡z’zZtd|jƒt|ƒ|jrœtdƒ}|  ¡}|dkr|qœqZ|dkr’| |j¡qZt|ƒqZWnt t fyºtƒYn0W|jrî|  ¡tdƒn|jrì|  ¡tdƒ0dS) z¹Start 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> r rzServer stopped) Ú webbrowserrørrèr"rçr´r;rŽrörür™rò)rÝrrörZ serverthreadZserver_help_msgrþrrrÚbrowsev s8     þrcCst|tƒo| tj¡dkSr“)rrAr¼r Úsep)rsrrrÚispath› srcCsvd|vstj|vst ¡|vr"dStj t¡}tj |¡}| ¡}||vrbtj ||¡sb| |¡|  dt ¡¡|S)zÞEnsures 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. rDNr) r ÚcurdirÚgetcwdrrrÚcopyÚsamefileÚremoveÚinsert)Z given_pathZargv0Z stdlib_dirZ script_dirÚ revised_pathrrrÚ_get_revised_pathž s    r$cCs,ttjtjdƒ}|dur(|tjdd…<dS)z˜Ensures 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$rrÚargv)r#rrrÚ_adjust_cli_sys_pathº sr&c Csêddl}Gdd„dtƒ}tƒ�zx| tjdd…d¡\}}d}d}d}d}d}|D]\\} } | d krld }d }| d kr„t| ƒWdS| d kr”d }| }| d kr d }| dkrTd }| }qT|rÊt|||d�WdS|sÒ|‚|D]¾} t| ƒ�rtj   | ¡�st d| ƒ�q–z`t| ƒ�r&tj   | ¡�r&t | ƒ} |�rXt| ƒ�rNtj  | ¡�rNt| ƒnt| ƒn t | ¡WqÖt�y’} zt | ƒWYd} ~ qÖd} ~ 00qÖWnL|j|f�yätj  tj  tjd¡¡d} t dj| tjd�ƒYn0dS)z@Command-line interface (looks at sys.argv to decide what to do).rNc@s eZdZdS)zcli..BadUsageN)r*rr rrrrÚBadUsageÇ r’r'rKzbk:n:p:wFrz-bTz-kz-pz-wz-n)rörzfile %r does not existaÑpydoc - 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. )rþr)Úgetoptr|r&rr%rÁrrr rÚexistsr"r�rÎr r)r%rrÁrèrÊrÉr0r)r(r'ZoptsrâÚwritingZ start_serverrrÝröÚoptÚvalÚargrnrþrrrÚcliÄ s`    $ãr.rÄ)NN)r)r)rrN)rrN)r)rDN)rÒ)r)`r>raryr|r{r�Zimportlib._bootstrapr­Zimportlib._bootstrap_externalÚimportlib.machineryÚimportlib.utilrrùr rgrìrErrûrôr³rÚ urllib.parserbrÎÚ collectionsrÚreprlibrÚ tracebackrrrr&r=r6rCrIrQrSrVrYr_r@Ú IGNORECASEr`rbrdrirtr‡rŠr›rŸr§rÀr|rÁrÎrÚrÛrürr¿rÀrÝrßrÞrärærãr rñrêrrrWr!r$rr r<r%r)r*rrÂrÁrørrrr$r&r.r*rrrrÚsÐ&      3      ' 0:*; " ,  ÿ ÿ = n% U