Files
952-11/env/python/dll/Python312/Lib/__pycache__/argparse.cpython-312.pyc
T

465 lines
99 KiB
Plaintext
Raw Normal View History

2024-08-19 17:05:14 +08:00
Ë
*åf·–ãóΗdZdZgd¢ZddlZddlZddlZddl Z ddl
m
Z m Z dZ
dZdZd Zd
Zd Zd ZGd
„de«Zd„ZGd„de«ZGd„de«ZGd„de«ZGd„de«ZGd„de«Zd„ZGd„de«ZGd„de«ZGd„d e«Z e«Z!Gd!„d"e «Z"Gd#„d$e «Z#Gd%„d&e «Z$Gd'„d(e$«Z%Gd)„d*e$«Z&Gd+„d,e «Z'Gd-„d.e «Z(Gd/„d0e «Z)Gd1„d2e «Z*Gd3„d4e «Z+Gd5„d6e «Z,Gd7„d8e'«Z-Gd9„d:e«Z.Gd;„d<e«Z/Gd=„d>e«Z0Gd?„d@e0«Z1GdA„dBe1«Z2GdC„dDee0«Z3y)Eaû
Command-line parsing library
This module is an optparse-inspired command-line parsing library that:
- handles both optional and positional arguments
- produces highly informative usage messages
- supports parsers that dispatch to sub-parsers
The following is a simple usage example that sums integers from the
command-line and writes the result to a file::
parser = argparse.ArgumentParser(
description='sum the integers at the command line')
parser.add_argument(
'integers', metavar='int', nargs='+', type=int,
help='an integer to be summed')
parser.add_argument(
'--log', default=sys.stdout, type=argparse.FileType('w'),
help='the file where the sum should be written')
args = parser.parse_args()
args.log.write('%s' % sum(args.integers))
args.log.close()
The module contains the following public classes:
- ArgumentParser -- The main entry point for command-line parsing. As the
example above shows, the add_argument() method is used to populate
the parser with actions for optional and positional arguments. Then
the parse_args() method is invoked to convert the args at the
command-line into an object with attributes.
- ArgumentError -- The exception raised by ArgumentParser objects when
there are errors with the parser's actions. Errors raised while
parsing the command-line are caught by ArgumentParser and emitted
as command-line messages.
- FileType -- A factory for defining types of files to be created. As the
example above shows, instances of FileType are typically passed as
the type= argument of add_argument() calls.
- Action -- The base class for parser actions. Typically actions are
selected by passing strings like 'store_true' or 'append_const' to
the action= argument of add_argument(). However, for greater
customization of ArgumentParser actions, subclasses of Action may
be defined and passed as the action= argument.
- HelpFormatter, RawDescriptionHelpFormatter, RawTextHelpFormatter,
ArgumentDefaultsHelpFormatter -- Formatter classes which
may be passed as the formatter_class= argument to the
ArgumentParser constructor. HelpFormatter is the default,
RawDescriptionHelpFormatter and RawTextHelpFormatter tell the parser
not to change the formatting for help text, and
ArgumentDefaultsHelpFormatter adds information about argument defaults
to the help.
All other classes in this module are considered implementation details.
(Also note that HelpFormatter and RawDescriptionHelpFormatter are only
considered public as object names -- the API of the formatter objects is
still considered an implementation detail.)
z1.1)ÚArgumentParserÚ
ArgumentErrorÚArgumentTypeErrorÚBooleanOptionalActionÚFileTypeÚ
HelpFormatterÚArgumentDefaultsHelpFormatterÚRawDescriptionHelpFormatterÚRawTextHelpFormatterÚMetavarTypeHelpFormatterÚ NamespaceÚActionÚ ONE_OR_MOREÚOPTIONALÚPARSERÚ REMAINDERÚSUPPRESSÚ ZERO_OR_MOREéN)ÚgettextÚngettextz ==SUPPRESS==ú?Ú*ú+zA...ú...Ú_unrecognized_argscó"—eZdZdZd„Zd„Zd„Zy)Ú_AttributeHolderaAbstract base class that provides __repr__.
The __repr__ method returns a string in the format::
ClassName(attr=name, attr=name, ...)
The attributes are determined either by a class-level attribute,
'_kwarg_names', or by inspecting the instance __dict__.
có†—t|«j}g}i}|j«D]}|jt |««Œ|j «D]1\}}|j
«r|j|›d|›�«Œ-|||<Œ3|r|jdt |«z«|›ddj|«›d�S)Nú=z**%sú(ú, ú))ÚtypeÚ__name__Ú _get_argsÚappendÚreprÚ _get_kwargsÚ isidentifierÚjoin)ÚselfÚ type_nameÚ arg_stringsÚ star_argsÚargÚnameÚvalues úDC:\Users\RCi\AppData\Local\Programs\Python\Python312\Lib\argparse.pyÚ__repr__z_AttributeHolder.__repr__vs·€Ü˜“J×'Ñ'ˆ ؈ ؈ Ø—>‘>Ó#ò *ˆCØ × Ñ œt C›yÕ )ð *à×+Ñ+Ó-ò (‰KˆD�%Ø× Ñ Ô"Ø×"Ñ"ªd±EÐ#:Õ;à"'� ˜$’ð  (ñ
Ø × Ñ ˜v¬¨Y«Ñ7Ô 8Ú$ d§i¡i° Õ&<Ð=Ð=ócóH—t|jj««S©N)ÚlistÚ__dict__Úitems©r+s r2r(z_AttributeHolder._get_kwargs…s€Ü�D—M‘M×'Ñ'Ó)Ó*Ð*r4có—gSr6©r:s r2r%z_AttributeHolder._get_argsˆs€Øˆ r4N)r$Ú
__module__Ú __qualname__Ú__doc__r3r(r%r<r4r2rrms„ñò
>ò+ór4rcó`—|€gSt|«tur|ddSddl}|j|«S©Nr)r#r7Úcopy)r9rBs r2Ú _copy_itemsrCŒs5€Ø €}؈ ô ˆEƒ{”dÑØ‘QˆxˆÛØ �9‰9�UÓ Ðr4cóÌ—eZdZdZ dd„Zd„Zd„ZGd„de«Zd„Z d „Z
d
„Z d „Z d d „Z
d
„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zd„Zy)!rz×Formatter for generating usage messages and argument help strings.
Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.
Ncóº—|€#ddl}|j«j}|dz}||_||_t |t
|dz
|dz««|_||_d|_ d|_
d|_ |j|d«|_
|j|_tj dtj"«|_tj d«|_y)Nrééz\s+z\n\n\n+)ÚshutilÚget_terminal_sizeÚcolumnsÚ_progÚ_indent_incrementÚminÚmaxÚ_max_help_positionÚ_widthÚ_current_indentÚ_levelÚ_action_max_lengthÚ_SectionÚ
_root_sectionÚ_current_sectionÚ_reÚcompileÚASCIIÚ_whitespace_matcherÚ_long_break_matcher)r+ÚprogÚindent_incrementÚmax_help_positionÚwidthrHs r2Ú__init__zHelpFormatter.__init__¤sÄ€ð ˆ=Û Ø×,Ñ,Ó.×6Ñ6ˆEØ �Q‰JˆEàˆŒ
Ø!1ˆÔÜ"%Ð&7Ü&)¨%°"©*Ð6FÈÑ6JÓ&Kó#MˆÔàˆŒ à ˆÔØˆŒ Ø"#ˆÔà!Ÿ]™]¨4°Ó6ˆÔØ $× 2Ñ 2ˆÔä#&§;¡;¨v´s·y±yÓ#AˆÔ Ü#&§;¡;¨zÓ#:ˆÕ r4cól—|xj|jz
c_|xjdz
c_y©Né©rQrLrRr:s r2Ú_indentzHelpFormatter._indentÃs'€Ø ×Ò × 6Ñ 6Ñ6ÕØ � Š �qÑŽ r4có˜—|xj|jzc_|jdk\sJd«‚|xjdzc_y)NrzIndent decreased below 0.rcrdr:s r2Ú_dedentzHelpFormatter._dedentÇsA€Ø ×Ò × 6Ñ 6Ñ6ÕØ×#Ñ# qÒ(ÐEÐ*EÓEÐ(Ø � Š �qÑŽ r4có—eZdZdd„Zd„Zy)úHelpFormatter._SectionNcó<—||_||_||_g|_yr6)Ú formatterÚparentÚheadingr9)r+rkrlrms r2r`zHelpFormatter._Section.__init__Îs€Ø&ˆDŒNØ ˆDŒKØ"ˆDŒL؈D�Jr4c ó—|j�|jj«|jj}||jD��cgc]
\}}||Ž‘Œ c}}«}|j�|jj «|sy|j turM|j �A|jj}td«t|j ¬«z}d|d|fz}nd}|d||dg«Scc}}w)NÚz %(heading)s:)rmú%*s%s
ú
) rlrkreÚ _join_partsr9rgrmrrQÚ_Údict)r+r*ÚfuncÚargsÚ item_helpÚcurrent_indentÚ heading_textrms r2Ú format_helpz"HelpFormatter._Section.format_helpÔsÞ€à�{‰{Ð&Ø—‘×&Ñ&Ô(Ø—>‘>×-Ñ-ˆDÙ¸D¿J¹J×G©j¨d°D™d DškÓGÓHˆIØ�{‰{Ð&Ø—‘×&Ñ&Ô(ñØð�|‰|¤8Ñ+°· ± Ð0HØ!%§¡×!?Ñ!?�Ü  Ó0´4ÀÇ Á Ô3MÑM� Ø# ~°r¸<Ð&HÑH‘à�ñ˜˜w¨ °4Ð8Ó9Ð 9ùó#HsÁC;
r6)r$r=r>r`rzr<r4r2rTriÌs „ó ó  :r4rTcóR—|jjj||f«yr6)rVr9r&)r+rurvs r2Ú _add_itemzHelpFormatter._add_itemìs €Ø ×Ñ×#Ñ#×*Ñ*¨D°$¨<Õ8r4có¤—|j«|j||j|«}|j|jg«||_yr6)rerTrVr|rz)r+rmÚsections r2Ú
start_sectionzHelpFormatter.start_sectionòs?€Ø � ‰ ŒØ—-‘-  d×&;Ñ&;¸WÓEˆØ �‰�w×*Ñ*¨BÔ/Ø 'ˆÕr4cóZ—|jj|_|j«yr6)rVrlrgr:s r2Ú end_sectionzHelpFormatter.end_sectionøs€Ø $× 5Ñ 5× <Ñ <ˆÔØ � ‰ �r4cóV—|tur!|�|j|j|g«yyyr6)rr|Ú _format_text)r+Útexts r2Úadd_textzHelpFormatter.add_textüs-€Ø ”xÑ  DÐ$4Ø �N‰N˜4×,Ñ,¨t¨fÕ 5ð%5Ð r4cóZ—|tur#||||f}|j|j|«yyr6)rr|Ú
_format_usage)r+ÚusageÚactionsÚgroupsÚprefixrvs r2Ú add_usagezHelpFormatter.add_usages1€Ø œÑ ؘ' 6¨6Ð1ˆDØ �N‰N˜4×-Ñ-¨tÕ 4ð !r4cón—|jtur£|j}||«g}|j|«D]}|j ||««Œt t
t|««}||jz}t |j|«|_ |j|j|g«yyr6) ÚhelprÚ_format_action_invocationÚ_iter_indented_subactionsr&rNÚmapÚlenrQrSr|Ú_format_action)r+ÚactionÚget_invocationÚ invocationsÚ subactionÚinvocation_lengthÚ
action_lengths r2Ú add_argumentzHelpFormatter.add_arguments®€Ø �;‰;œhÑ &ð"×;Ñ;ˆNÙ)¨&Ó1Ð2ˆKØ!×;Ñ;¸FÓCò
>� Ø×"Ñ"¡>°)Ó#<Õ=ð
>ô!$¤C¬¨[Ó$9Ó :Ð Ø-°×0DÑ0DÑDˆMÜ&)¨$×*AÑ*AØ*7ó'9ˆDÔ #ð
�N‰N˜4×.Ñ.°°Õ 9ð 'r4có4—|D]}|j|«Œyr6)rš)r+r‰r”s r2Ú
add_argumentszHelpFormatter.add_argumentss€Øò &ˆFØ × Ñ ˜fÕ %ñ &r4cóž—|jj«}|r0|jjd|«}|j d«dz}|S)Nú
rq)rUrzr[ÚsubÚstrip)r+rŽs r2rzzHelpFormatter.format_helpsI€Ø×!Ñ!×-Ñ-Ó/ˆÙ Ø×+Ñ+×/Ñ/°¸Ó=ˆDØ—:‘:˜dÓ# dÑ*ˆD؈ r4có^—dj|D�cgc]}|r
|tur|‘Œc}«Scc}w)Nro)r*r)r+Ú part_stringsÚparts r2rrzHelpFormatter._join_parts%s8€Ø�w‰wØ$0ö:Ø Ù D´Ñ$8òò:ó;ð ;ùò:s�*cóô‡—|€ td«}|�|t|j¬«z}�nB|€|sdt|j¬«z}�n#|�€ dt|j¬«z}g}g}|D]1}|jr|j |«Œ!|j |«Œ3|j
} | ||z|«}
dj
||
fD� cgc]} | sŒ| ‘Œ c} «}|j|jz
Št|«t|«z‰kD�r]d} | ||«}
| ||«}tj| |
«}tj| |«}dj
|«|
k(sJ‚dj
|«|k(sJ‚d ˆfd„ }t|«t|«zd‰zkr[dt|«t|«zdzz}|r'||g|z||«}|j|||««nw|r||g|z||«}nf|g}nbdt|«z}||z}|||«}t|«dkDr2g}|j|||««|j|||««|g|z}d j
|«}|›|›d
�Scc} w) Nzusage: ©r\z%(prog)sú z%\(.*?\)+(?=\s|$)|\[.*?\]+(?=\s|$)|\S+c󈕗g}g}t|«}|�t|«dz
}n|dz
}|D]d}|dzt|«z‰kDr,|r*|j|dj|«z«g}|dz
}|j|«|t|«dzz
}Œf|r#|j|dj|«z«|� |d|d|d<|S)Nrcr¦r)r’r&r*) ÚpartsÚindentr‹ÚlinesÚlineÚ
indent_lengthÚline_lenr£Ú
text_widths €r2Ú get_linesz.HelpFormatter._format_usage.<locals>.get_linesZsÜø€Ø�EØ�DÜ$'¨£K�MØÐ)Ü#& v£;°¡?™à#0°1Ñ#4˜Ø %ò2˜Ø# a™<¬#¨d«)Ñ3°jÒ@ÁTØ!ŸL™L¨°#·(±(¸4³.Ñ)@ÔAØ#%˜DØ'4°qÑ'8˜HØŸ ™  DÔ)Ø ¤C¨£I°¡MÑ1™ð
2ñØŸ ™  V¨c¯h©h°t«nÑ%<Ô=ØÐ)Ø#(¨¡8¨M¨NÐ#;˜˜a™Ø �Lr4gè?rcrqržr6)
rsrtrKÚoption_stringsr&Ú_format_actions_usager*rPrQr’rWÚfindallÚextend)r+rˆr‰rŠr‹r\Ú optionalsÚ positionalsr”ÚformatÚ action_usageÚsÚ part_regexpÚ opt_usageÚ pos_usageÚ opt_partsÚ pos_partsr¯r©rªr¨r®s @r2r‡zHelpFormatter._format_usage*s�ø€Ø ˆ>Ü�y“\ˆFð Ð ØœD d§j¡jÔ1Ñ1ŠEðˆ]¡7ؤ¨4¯:©:Ô!6Ñ6ŠEð‰]ؤ¨$¯*©*Ô 5Ñ5ˆDðˆI؈KØ!ò
/�Ø×(Ò(Ø×$Ñ$ VÕ,à×&Ñ& vÕ.ð 
/ð×/Ñ/ˆFÙ! )¨kÑ"9¸6ÓBˆLØ—H‘H¨$° Ð)=ÖC AšaÒCÓDˆE🙠t×';Ñ';Ñ;ˆJÜ�6‹{œS ›ZÑ'¨*Ó4ððñ
# 9¨fÓ5� Ù" ;°Ó7� ÜŸK™K¨ °YÓ?� ÜŸK™K¨ °YÓ?� Ø—x‘x  Ó*¨iÒ7Ð7Ð7Ø—x‘x  Ó*¨iÒ7Ð7Ð7õ!ô,�v“;¤ T£Ñ*¨d°ZÑ.?Ò?Ø ¤C¨£K´#°d³)Ñ$;¸aÑ$?Ñ@�FÙ Ù )¨4¨&°9Ñ*<¸fÀfÓ M˜ØŸ ™ ¡Y¨y¸&Ó%AÕBÙ"Ù )¨4¨&°9Ñ*<¸fÀfÓ M™à!% ™ð!¤3 v£;Ñ.�FØ%¨ Ñ1�EÙ% e¨VÓ4�Eܘ5“z A’~Ø "˜ØŸ ™ ¡Y¨y¸&Ó%AÔBØŸ ™ ¡Y¨y¸&Ó%AÔBØ!˜F U™N�E🠙  %Ó(�ñ$¢UÐ+Ð+ùòGDs Ã
I5ÃI5cóÊ—t«}i}|D�]4}|jstd|›�«‚ |j|jd«}t |j«}||z}||||jk(sŒjd} |jD]+}
|j |
«|
j tusŒ'| dz
} Œ-|| z
} | sΨ|js/||vr||xxdz
cc<nd||<||vr||xxdz
cc<n9d||<n3| dkDr.||vr||xxdz
cc<nd||<||vr||xxd z
cc<nd ||<t|dz|«D]} d
|| <Œ �Œ7g}
t|«D�]U\} }
|
j turd|
jd«|j| «d
k(r|j| «ŒP|j| dz«d
k(sŒh|j| dz«Œ}|
jsN|j|
«}|j!|
|«}|
|vr|ddk(r
|d dk(r|dd }|
j|«Œ×|
jd}|
j"dk(r|
j%«}n*|j'|
«}|j!|
|«}|›d |›�}|
js |
|vrd
|z}|
j|«�ŒXt)|d¬«D] } || g|
| | Œ
d j+|
D�cgc]}|€Œ|‘Œ c}«}d}d}t-j.d|zd|«}t-j.d|zd|«}t-j.|›d|›�d|«}|j1«}|S#t$rY�ŒMwxYwcc}w)Nz empty group rrcz [ú[ú]z (r r"ú|éÿÿÿÿr¦ú[%s]T)Úreversez[\[(]z[\])]z(%s) z\1ú (%s)z *ro)ÚsetÚ_group_actionsÚ
ValueErrorÚindexr’ÚaddrŽrÚrequiredÚrangeÚ enumerater&ÚgetÚpopr°Ú#_get_default_metavar_for_positionalÚ _format_argsÚnargsÚ format_usageÚ!_get_default_metavar_for_optionalÚsortedr*rWrŸr )r+r‰rŠÚ
group_actionsÚinsertsÚgroupÚstartÚgroup_action_countÚendÚsuppressed_actions_countr”Úexposed_actions_countÚir¨Údefaultr£Ú
option_stringÚ args_stringÚitemr„ÚopenÚcloses r2r±z#HelpFormatter._format_actions_usage‹s´€ä›ˆ
؈Øó* )ˆEØ×'Ò'Ü  <°¨wÐ!7Ó8Ð8ð&
)ØŸ
™
 e×&:Ñ&:¸1Ñ&=Ó>�ô&)¨×)=Ñ)=Ó%>Ð"ØÐ0Ñ0�ؘ5 Ð%¨×)=Ñ)=Ó=à/0Ð,Ø"'×"6Ñ"6ò:˜Ø%×)Ñ)¨&Ô1Ø!Ÿ;™;¬(Ò2Ø4¸Ñ9Ñ4ð:ð
-?ÐAYÑ,YÐ)Ù0Ø à Ÿ>š>Ø  GÑ+Ø# E›N¨dÑ2œNà-0˜G E™NØ '™>Ø# C›L¨CÑ/œLà+.˜G CšLØ.°Ò2Ø  GÑ+Ø# E›N¨dÑ2œNà-0˜G E™NØ '™>Ø# C›L¨CÑ/œLà+.˜G C™LÜ" 5¨1¡9¨cÓ2ò)˜Ø%(˜ š
ò)ðS* )ðZˆÜ" 7Ó+ó- #‰IˆAˆvð�{‰{œhÑ&Ø— ‘ ˜TÔ"Ø—;‘;˜q“> SÒ(Ø—K‘K •NØ—[‘[  Q¡Ó'¨3Ó.Ø—K‘K  A¡Õ&ð×*Ò*Ø×BÑBÀ6ÓJ�Ø×(Ñ(¨°Ó9�ð˜]Ñ*ؘA‘w #’~¨$¨r©(°cª/Ø# A b˜z˜ð— ‘ ˜TÕ"ð!'× 5Ñ 5°aÑ 8�
ð—<‘< 1Ò$Ø!×.Ñ.Ó0‘Dð
#×DÑDÀVÓL�GØ"&×"3Ñ"3°F¸GÓ"D�KÚ&3±[ÐA�Dð—’¨6¸Ñ+FØ! D™=�Dð— ‘ ˜TÖ"ð[- #ô`˜¨Ô.ò &ˆAØ! !™*˜ˆE�!�A‰Jð &ð�x‰x¨%ÖD $°4Ñ3CšÒDÓEˆðˆØˆÜ�w‰w�x $‘¨¨tÓ4ˆÜ�w‰w�x %Ñ'¨°Ó5ˆÜ�w‰w¢D©%Ð0°#°tÓ<ˆØ�z‰z‹|ˆðˆ øôOò
Úð
üòxEs®MËM ËM Í MÍMcóÌ—d|vr|t|j¬«z}t|j|jz
d«}d|jz}|j |||«dzS)Nz%(prog)r¥é r¦rž)rtrKrNrPrQÚ
_fill_text)r+r„r®r©s r2rƒzHelpFormatter._format_textþs`€Ø ˜Ñ Øœ$ D§J¡JÔ/Ñ/ˆDܘŸ™ t×';Ñ';Ñ;¸RÓ@ˆ
Ø�t×+Ñ+Ñ+ˆØ�‰˜t Z°Ó8¸6ÑAÐAr4có`—t|jdz|j«}t|j|z
d«}||j
z
dz
}|j
|«}|js|j
d|f}d|z}n<t|«|kr|j
d||f}d|z}d}n|j
d|f}d|z}|}|g}|jr{|jj«ra|j|«} | rp|j| |«}
|jdd|
dfz«|
ddD]} |jd|d| fz«Œn"|jd«s|jd«|j|«D]"} |j|j| ««Œ$|j!|«S) NrFrærorpz %*s%-*s rrcrq)rMrSrOrNrPrQr�rŽr’r Ú _expand_helpÚ _split_linesr&Úendswithr�r“rr)
r+r”Ú
help_positionÚ
help_widthÚ action_widthÚ
action_headerÚtupÚ indent_firstr¨Ú help_textÚ
help_linesr«r—s
r2r“zHelpFormatter._format_actionsÇ€ä˜D×3Ñ3°aÑ7Ø ×3Ñ3ó5ˆ
䘟™ }Ñ4°bÓ9ˆ
Ø$ t×';Ñ';Ñ;¸aÑ?ˆ Ø×6Ñ6°vÓ>ˆ
ð�{Š{Ø×&Ñ&¨¨MÐ9ˆCØ%¨™O‰Mô�Ó
 <Ò
/Ø×&Ñ&¨¨L¸-ÐGˆCØ'¨#Ñ-ˆM؉Lð×&Ñ&¨¨MÐ9ˆCØ%¨™OˆMØ(ˆLð�ˆð �;Š;˜6Ÿ;™;×,Ñ,Ô.Ø×)Ñ)¨&Ó1ˆIÙØ!×.Ñ.¨y¸*ÓE�
Ø— ‘ ˜Y¨,¸¸JÀq¹MÐ)JÑJÔKØ& q r˜NòH�DØ—L‘L ¨m¸RÀÐ-FÑ!FÕGñHð×'Ñ'¨Ô-Ø �L‰L˜Ô ð×7Ñ7¸Ó?ò 9ˆIØ �L‰L˜×,Ñ,¨YÓ7Õ 8ð 9ð×Ñ Ó&Ð&r4có„—|js-|j|«}|j||«d«\}|Sg}|jdk(r|j |j«nJ|j |«}|j
||«}|jD]}|j|›d|›�«Œdj|«S)Nrcrr¦r!) r°rÐÚ_metavar_formatterrÒr³rÔrÑr&r*)r+r”rßÚmetavarr¨ráràs r2r�z'HelpFormatter._format_action_invocation5s¿€Ø×$Ò$Ø×>Ñ>¸vÓFˆGØ?�t×.Ñ.¨v°wÓ?ÀÓB‰HˆG؈NðˆEð�|‰|˜qÒ Ø— ‘ ˜V×2Ñ2Õ3ð
×@Ñ@ÀÓH�Ø"×/Ñ/°¸Ó@� Ø%+×%:Ñ%:òI�MØ—L‘LªM¹;Ð!GÕHðIð—9‘9˜UÓ#Ð #r4có؇—|j�
|jŠnE|j�7|jD�cgc]
}t|«‘Œ}}ddj|«zŠn|Šˆfd„}|Scc}w)Nz{%s}ú,có4•—t‰t«r‰S‰f|zSr6)Ú
isinstanceÚtuple)Ú
tuple_sizeÚresults €r2r¶z0HelpFormatter._metavar_formatter.<locals>.formatVsø€Ü˜&¤%Ô(Ø�
à�z JÑ.Ð.r4)röÚchoicesÚstrr*)r+r”Údefault_metavarÚchoiceÚ choice_strsr¶rýs @r2rõz HelpFormatter._metavar_formatterMseø€Ø �>‰>Ð %Ø—^‘^‰FØ
�^‰^Ð
'Ø5;·^±^ÖD¨6œ3˜v�;ÐDˆKÐDؘcŸh™h {Ó3Ñ3‰Fà$ˆFô /ð
ˆ
ùòEsµA'có°—|j||«}|j€
d|d«z}|S|jtk(r
d|d«z}|S|jtk(r$|d«}t |«dk(rd|z}|Sd|z}|S|jt
k(r
d|d«z}|S|jt k(rd}|S|jtk(r
d |d«z}|S|jtk(rd
}|S t|j«D�cgc]}d‘Œ}}d j|«||j«z}|Scc}w#t$r
td «d‚wxYw)
Nz%srcrÃrFz
[%s [%s ...]]z[%s ...]z %s [%s ...]rz%s ...rozinvalid nargs valuer¦)
rõrÒrrr’rrrrrÌÚ TypeErrorrÈr*)r+r”rÚ get_metavarrýrörsÚformatss r2rÑzHelpFormatter._format_args]s€€Ø×-Ñ-¨f°oÓFˆ Ø �<‰<Ð Ø™K¨›NÑ*ˆFð.ˆ
ð-�\‰\œXÒ
%Ø™k¨!›nÑ,ˆFð*ˆ
ð)�\‰\œ\Ò
)Ù! !“nˆGÜ�7‹|˜qÒ Ø(¨7Ñ2�ð"ˆ
ð$ gÑ-�ðˆ
ð�\‰\œ[Ò
(Ø"¡[°£^Ñ3ˆFðˆ
ð�\‰\œYÒ
&؈Fðˆ
ð�\‰\œVÒ
#Ø¡ ¨A£Ñ.ˆFðˆ
ð�\‰\œXÒ
%؈Fðˆ
ð 
BÜ).¨v¯|©|Ó)<Ö= Aš4Ð=�Ð=ð—X‘X˜gÓ&©°V·\±\Ó)BÑBˆF؈
ùò >øÜò
BÜ Ð!6Ó7¸TÐAð
BúsÃ2D?Ä D:ÄD?Ä:D?Ä?Ecó˜—tt|«|j¬«}t|«D]}||tusŒ||=Œt|«D]$}t ||d«sŒ||j ||<Œ&|jd«�0dj|dD�cgc]
}t|«‘Œc}«}||d<|j|«|zScc}w)Nr¥r$rþr!) rtÚvarsrKr7rÚhasattrr$rÎr*rÿÚ_get_help_string)r+r”Úparamsr0ÚcÚ choices_strs r2rézHelpFormatter._expand_helpysˀܔd˜6“l¨¯©Ô4ˆÜ˜“Lò !ˆDØ�d‰|œxÒ'ؘ4‘Lð !ô˜“Lò 5ˆDÜ�v˜d‘| ZÕ0Ø% d™|×4Ñ4��t’ ð 5ð �:‰:�iÓ Ð ,ØŸ)™)°V¸IÑ5FÖ$G°¤S¨¥VÒ$GÓHˆKØ +ˆF�9Ñ Ø×$Ñ$ VÓ,¨vÑ5Ð5ùò%HsÂCc#ó¦K— |j}|j«|«Ed{–—†|j«y7Œ#t$rYywxYw­wr6)Ú_get_subactionsrergÚAttributeError)r+r”Úget_subactionss r2r�z'HelpFormatter._iter_indented_subactions†sNèø€ð Ø#×3Ñ3ˆNð
�L‰LŒNÙ%Ó'× 'Ð 'Ø �L‰L�Nð
(ùô ò Ù ð üs1‚A„ A�AªA«AÁ AÁ AÁ
AÁAcó‚—|jjd|«j«}ddl}|j ||«S)Nr¦r)rZrŸr ÚtextwrapÚwrap)r+r„r_rs r2rêzHelpFormatter._split_lines�s9€Ø×'Ñ'×+Ñ+¨C°Ó6×<Ñ<Ó>ˆó Ø�}‰}˜T 5Ó)Ð)r4cóˆ—|jjd|«j«}ddl}|j ||||¬«S)Nr¦r)Úinitial_indentÚsubsequent_indent)rZrŸr rÚfill)r+r„r_r©rs r2rçzHelpFormatter._fill_text—sF€Ø×'Ñ'×+Ñ+¨C°Ó6×<Ñ<Ó>ˆÛØ�}‰}˜T 5Ø,2Ø/5ðó7ð 7r4có—|jSr6)rŽ©r+r”s r2r
zHelpFormatter._get_help_stringžó €Ø�{‰{Ðr4có6—|jj«Sr6)ÚdestÚupperrs r2rÔz/HelpFormatter._get_default_metavar_for_optional¡s€Ø�{‰{× Ñ Ó"Ð"r4có—|jSr6)rrs r2rÐz1HelpFormatter._get_default_metavar_for_positional¤rr4)rFéNr6) r$r=r>r?r`rergÚobjectrTr|rr�r…rŒršrœrzrrr‡r±rƒr“r�rõrÑrér�rêrçr
rÔrÐr<r4r2rr�s§„ñð#$Ø#%Øó ;ò>òô
:�6ô:ò@9ò (ò ò6ó5ò
:ò$&òò;ò
_,òBqòfBò.'ò`$ò0ò ò8 6òò*ò7òò#ór4rcó—eZdZdZd„Zy)r zÙHelp message formatter which retains any formatting in descriptions.
Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.
cóX‡—djˆfd„|jd¬«D««S)Nroc3ó(•K—|] }‰|z–—Œ y­wr6r<)Ú.0r«r©s €r2ú <genexpr>z9RawDescriptionHelpFormatter._fill_text.<locals>.<genexpr>°søèø€ÒP¨�v •}ÑPùsƒT)Úkeepends)r*Ú
splitlines)r+r„r_r©s `r2rçz&RawDescriptionHelpFormatter._fill_text¯s#ø€Ø�w‰wÓP°·±È$°Ó1OÔPÓPÐPr4N)r$r=r>r?rçr<r4r2r r ¨s
„ñó Qr4r có—eZdZdZd„Zy)r
zÖHelp message formatter which retains formatting of all help text.
Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.
có"—|j«Sr6)r()r+r„r_s r2rêz!RawTextHelpFormatter._split_linesºs€Ø�‰Ó Ð r4N)r$r=r>r?rêr<r4r2r
r
³s „ñó !r4r
có—eZdZdZd„Zy)rz×Help message formatter which adds default values to argument help.
Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.
cóº—|j}|€d}d|vrF|jtur4ttg}|j
s|j |vr|td«z
}|S)a6
Add the default value to the option help message.
ArgumentDefaultsHelpFormatter and BooleanOptionalAction when it isn't
already present. This code will do that, detecting cornercases to
prevent duplicates or cases where it wouldn't make sense to the end
user.
roz
%(default)z (default: %(default)s))rŽrßrrrr°rÒrs)r+r”rŽÚdefaulting_nargss r2r
z.ArgumentDefaultsHelpFormatter._get_help_stringÅs`€ð�{‰{ˆØ ˆ<؈Dà ˜tÑ #Ø�~‰~¤XÑ-Ü$,¬lÐ#;Ð Ø×(Ò(¨F¯L©LÐ<LÑ,LØœAÐ7Ó8Ñ8�D؈ r4N)r$r=r>r?r
r<r4r2rr¾s „ñó r4rcó—eZdZdZd„Zd„Zy)r a Help message formatter which uses the argument 'type' as the default
metavar value (instead of the argument 'dest')
Only the name of this class is considered a public API. All the methods
provided by the class are considered an implementation detail.
có.—|jjSr6©r#r$rs r2rÔz:MetavarTypeHelpFormatter._get_default_metavar_for_optionalãó€Ø�{‰{×#Ñ#Ð#r4có.—|jjSr6r0rs r2rÐz<MetavarTypeHelpFormatter._get_default_metavar_for_positionalær1r4N)r$r=r>r?rÔrÐr<r4r2r r Ûs„ñò$ó$r4r có2—|€y|jrdj|j«S|jdtfvr |jS|jdtfvr |jS|j
r!ddj|j
«zdzSy)Nú/ú{røú})r°r*rörrrþ)Úarguments r2Ú_get_action_namer8îsŽ€ØÐØØ × Ò Ø�x‰x˜×/Ñ/Ó0Ð0Ø × Ñ  $¬Ð!1Ñ 1Ø×ÑÐØ �‰˜t¤XÐ.Ñ .Ø�}‰}ÐØ × Ò Ø�S—X‘X˜h×.Ñ.Ó/Ñ/°#Ñ5Ð5àr4có—eZdZdZd„Zd„Zy)rzÄAn error from creating or using an argument (optional or positional).
The string value of this exception is the message, augmented with
information about the argument that caused it.
có2—t|«|_||_yr6)r8Ú
argument_nameÚmessage)r+r7r<s r2r`zArgumentError.__init__s€Ü-¨hÓ7ˆÔ؈� r4có~—|j€d}n td«}|t|j|j¬«zS)Nz %(message)sz'argument %(argument_name)s: %(message)s)r<r;)r;rsrtr<)r+r¶s r2Ú__str__zArgumentError.__str__sA€Ø × Ñ Ð %Ø"‰FäÐ@ÓAˆFØœ T§\¡\Ø+/×+=Ñ+=ô?ñ?ð ?r4N)r$r=r>r?r`r>r<r4r2rrýs„ñò ó?r4rcó—eZdZdZy)rz@An error from trying to convert a command line string to a type.N)r$r=r>r?r<r4r2rrs„ÙJØr4rcó<—eZdZdZ dd„Zd„Zd„Zdd„Zy) r
a\ Information about how to convert command line strings to Python objects.
Action objects are used by an ArgumentParser to represent the information
needed to parse a single argument from one or more strings from the
command line. The keyword arguments to the Action constructor are also
all attributes of Action instances.
Keyword Arguments:
- option_strings -- A list of command-line option strings which
should be associated with this action.
- dest -- The name of the attribute to hold the created object(s)
- nargs -- The number of command-line arguments that should be
consumed. By default, one argument will be consumed and a single
value will be produced. Other values include:
- N (an integer) consumes N arguments (and produces a list)
- '?' consumes zero or one arguments
- '*' consumes zero or more arguments (and produces a list)
- '+' consumes one or more arguments (and produces a list)
Note that the difference between the default and nargs=1 is that
with the default, a single value will be produced, while with
nargs=1, a list containing a single value will be produced.
- const -- The value to be produced if the option is specified and the
option uses an action that takes no values.
- default -- The value to be produced if the option is not specified.
- type -- A callable that accepts a single string argument, and
returns the converted value. The standard Python types str, int,
float, and complex are useful examples of such callables. If None,
str is used.
- choices -- A container of values that should be allowed. If not None,
after a command-line argument has been converted to the appropriate
type, an exception will be raised if it is not a member of this
collection.
- required -- True if the action must always be specified at the
command line. This is only meaningful for optional command-line
arguments.
- help -- The help string describing the argument.
- metavar -- The name to be used for the option's argument with the
help string. If None, the 'dest' value will be used as the name.
Nc ó�—||_||_||_||_||_||_||_||_| |_|
|_ yr6©
r°rrÒÚconstrßr#rþrËrŽrö) r+r°rrÒrCrßr#rþrËrŽrös r2r`zAction.__init__MsK€ð-ˆÔ؈Œ ؈Œ
؈Œ
؈Œ ؈Œ ؈Œ Ø ˆŒ
؈Œ ؈� r4cóL—gd¢}|D�cgc]}|t||«f‘Œc}Scc}w)NrB©Úgetattr©r+Únamesr0s r2r(zAction._get_kwargscs+€ò 
ˆð9>Ö>°�”w˜t TÓ*Ò+Ò>Ð>ùÒ>ó‰!có —|jdSrA)r°r:s r2rÓzAction.format_usagers€Ø×"Ñ" 1Ñ%Ð%r4có*—ttd««‚)Nz.__call__() not defined)ÚNotImplementedErrorrs©r+ÚparserÚ namespaceÚvaluesràs r2Ú__call__zAction.__call__us€Ü!¤!Ð$=Ó">Ó?Ð?r4©NNNNNFNNr6)r$r=r>r?r`r(rÓrQr<r4r2r
r
s7„ñ0ðjØØØØØØØóò,
?ò&ô@r4r
có:‡—eZdZdeeddefˆfd„ Zdd„Zd„ZˆxZS)rNFc ób•—g} |D]>}
| j|
«|
jd«sŒ&d|
ddz}
| j|
«Œ@dD].} t«| tusŒt j
| dd¬«Œ0|turd}|turd}|turd}t ‰ |�| |d||||||¬ « y)
Nú--ú--no-rF)r#rþrözP{name!r} is deprecated as of Python 3.12 and will be removed in Python {remove}.)éé)Úremover) r°rrÒrßr#rþrËrŽrö)r&Ú
startswithÚlocalsÚ_deprecated_defaultÚwarningsÚ _deprecatedÚsuperr`)
r+r°rrßr#rþrËrŽröÚ_option_stringsràÚ
field_nameÚ __class__s
€r2r`zBooleanOptionalAction.__init__}sçø€ðˆØ+ò 6ˆMØ × "Ñ " =Ô 1à×'Ñ'¨Õ-Ø '¨-¸¸Ð*;Ñ ;�
Ø×&Ñ& }Õ5ð  6ð9ò $ˆJÜ‹x˜
Ñ#Ô+>Ò>Ü×$Ñ$Øð2à"ö $ð $ð Ô&Ñ &؈DØ Ô)Ñ )؈GØ Ô)Ñ )؈Gä
‰ÑØ*ØØØØØØØØð õ r4cóp—||jvr(t||j|jd« «yy)NrV)r°ÚsetattrrrZrMs r2rQzBooleanOptionalAction.__call__­s3€Ø ˜D×/Ñ/Ñ /Ü �I˜tŸy™y¨m×.FÑ.FÀwÓ.OÐ*OÕ Pð 0r4có8—dj|j«S)Nz | )r*r°r:s r2rÓz"BooleanOptionalAction.format_usage±s€Ø�z‰z˜$×-Ñ-Ó.Ð.r4r6)r$r=r>r\r`rQrÓÚ
__classcell__©rbs@r2rr|s(ø„ðØ)Ø,ØØØ,õ-ó`Qö/r4rcó8‡—eZdZ dˆfd„ Zdd„ZˆxZS)Ú _StoreActionc óš•—|dk(r td«‚|�|tk7rtdtz«‚tt|�||||||||| |
¬«
y)Nrz…nargs for store actions must be != 0; if you have nothing to store, actions such as store true or store const may be more appropriateú nargs must be %r to supply constrB)rÈrr_rir`© r+r°rrÒrCrßr#rþrËrŽrörbs €r2r`z_StoreAction.__init__·ssø€ð �AŠ:ÜðKóLð
Lð Ð  ¬(Ò!2ÜÐ?Ä(ÑJÓKÐ KÜ
Œl˜DÑ*Ø)ØØØØØØØØØð +õ
r4có2—t||j|«yr6)rdrrMs r2rQz_StoreAction.__call__Ôs€Ü� ˜4Ÿ9™9 fÕ-r4rRr6©r$r=r>r`rQrfrgs@r2ririµs'ø„ð
ØØØØØØØõ÷:.r4ricó2‡—eZdZ dˆfd„ Zdd„ZˆxZS)Ú_StoreConstActionc ó:•—tt|� ||d||||¬«y)Nr)r°rrÒrCrßrËrŽ)r_rpr`© r+r°rrCrßrËrŽrörbs €r2r`z_StoreConstAction.__init__Ús/ø€ô Ô Ñ/Ø)ØØØØØØð 0õ r4cóF—t||j|j«yr6)rdrrCrMs r2rQz_StoreConstAction.__call__ës€Ü� ˜4Ÿ9™9 d§j¡jÕ1r4©NNFNNr6rnrgs@r2rprpØsø„ð
ØØØØõ÷"2r4rpcó&‡—eZdZ dˆfd„ ZˆxZS)Ú_StoreTrueActioncó8•—tt|� ||d|||¬«y)NT©r°rrCrßrËrŽ)r_rvr`©r+r°rrßrËrŽrbs €r2r`z_StoreTrueAction.__init__ñs,ø€ô Ô Ñ.Ø)ØØØØØð
/õ r4)FFN©r$r=r>r`rfrgs@r2rvrvïsø„ð
ØØ÷ ñ r4rvcó&‡—eZdZ dˆfd„ ZˆxZS)Ú_StoreFalseActioncó8•—tt|� ||d|||¬«y)NFrx)r_r|r`rys €r2r`z_StoreFalseAction.__init__s,ø€ô Ô Ñ/Ø)ØØØØØð
0õ r4)TFNrzrgs@r2r|r|sø„ð
ØØ÷ ñ r4r|có8‡—eZdZ dˆfd„ Zdd„ZˆxZS)Ú
_AppendActionc óš•—|dk(r td«‚|�|tk7rtdtz«‚tt|�||||||||| |
¬«
y)NrzŒnargs for append actions must be != 0; if arg strings are not supplying the value to append, the append const action may be more appropriaterkrB)rÈrr_rr`rls €r2r`z_AppendAction.__init__ssø€ð �AŠ:ÜðOóPð
Pð Ð  ¬(Ò!2ÜÐ?Ä(ÑJÓKÐ KÜ
Œm˜TÑ+Ø)ØØØØØØØØØð ,õ
r4có˜—t||jd«}t|«}|j|«t ||j|«yr6)rFrrCr&rd©r+rNrOrPràr9s r2rQz_AppendAction.__call__0ó:€Ü˜  4§9¡9¨dÓ3ˆÜ˜EÓ"ˆØ
� ‰ �VÔÜ� ˜4Ÿ9™9 eÕ,r4rRr6rnrgs@r2rrs'ø„ð
ØØØØØØØõ÷:-r4rcó2‡—eZdZ dˆfd„ Zdd„ZˆxZS)Ú_AppendConstActionc
ó<•—tt|� ||d|||||¬«y)Nr)r°rrÒrCrßrËrŽrö)r_r…r`rrs €r2r`z_AppendConstAction.__init__9s2ø€ô Ô  $Ñ0Ø)ØØØØØØØð 1õ r4có¬—t||jd«}t|«}|j|j«t ||j|«yr6)rFrrCr&rCrdr‚s r2rQz_AppendConstAction.__call__Ks>€Ü˜  4§9¡9¨dÓ3ˆÜ˜EÓ"ˆØ
� ‰ �T—Z‘ZÔ Ü� ˜4Ÿ9™9 eÕ,r4rtr6rnrgs@r2r…r…7sø„ð
ØØØØõ÷$-r4r…có.‡—eZdZ dˆfd„ Zdd„ZˆxZS)Ú _CountActioncó8•—tt|� ||d|||¬«y)Nr)r°rrÒrßrËrŽ)r_r‰r`rys €r2r`z_CountAction.__init__Ts+ø€ô Œl˜DÑ*Ø)ØØØØØð
+õ r4cón—t||jd«}|€d}t||j|dz«y)Nrrc)rFrrd)r+rNrOrPràÚcounts r2rQz_CountAction.__call__bs2€Ü˜  4§9¡9¨dÓ3ˆØ ˆ=؈EÜ� ˜4Ÿ9™9 e¨a¡iÕ0r4)NFNr6rnrgs@r2r‰r‰Rsø„ð
ØØõ ÷1r4r‰có.‡—eZdZeedfˆfd„ Zdd„ZˆxZS)Ú _HelpActionNcó6•—tt|� |||d|¬«y)Nr©r°rrßrÒrŽ)r_rŽr`)r+r°rrßrŽrbs €r2r`z_HelpAction.__init__ks(ø€ô
Œk˜4Ñ)Ø)ØØØØð *õ r4cóD—|j«|j«yr6)Ú
print_helpÚexitrMs r2rQz_HelpAction.__call__ws€Ø×ÑÔØ� ‰ �
r4r6©r$r=r>rr`rQrfrgs@r2rŽrŽisø„ðØ!Øõ
÷r4rŽcó0‡—eZdZdeedfˆfd„ Zdd„ZˆxZS)Ú_VersionActionNcó^•—|€ td«}tt|�|||d|¬«||_y)Nz&show program's version number and exitrr�)rsr_r–r`Úversion)r+r°r˜rrßrŽrbs €r2r`z_VersionAction.__init__~sAø€ð ˆ<ÜÐ=Ó>ˆDÜ
Œn˜dÑ,Ø)ØØØØð -ô ð ˆ� r4cóö—|j}|€ |j}|j«}|j|«|j|j «t
j «|j«yr6)r˜Ú_get_formatterr…Ú_print_messagerzÚ_sysÚstdoutr“)r+rNrOrPràr˜rks r2rQz_VersionAction.__call__Žs[€Ø—,‘,ˆØ ˆ?Ø—n‘nˆGØ×)Ñ)Ó+ˆ Ø×ј7Ô#Ø×јi×3Ñ3Ó5´t·{±{ÔCØ� ‰ �
r4r6r”rgs@r2r–r–|sø„ðØØ!Øõ ÷ r4r–cóR‡—eZdZGd„de«Zedddfˆfd„ Zd„Zd„Zd d„Z ˆxZ
S)
Ú_SubParsersActioncó‡—eZdZˆfd„ZˆxZS)ú&_SubParsersAction._ChoicesPseudoActioncóž•—|x}}|r|ddj|«zz
}ttj|«}|j g|||¬«y)NrÅr!)r°rrŽrö)r*r_rŸÚ_ChoicesPseudoActionr`)r+r0ÚaliasesrŽrörÚsuprbs €r2r`z/_SubParsersAction._ChoicesPseudoAction.__init__œsUø€Ø!Ð !ˆG�dÙØ˜7 T§Y¡Y¨wÓ%7Ñ7Ñ7�ÜÔ)×>Ñ>ÀÓEˆCØ �L‰L¨°¸DØ!(ð
õ
*r4rzrgs@r2r£r¡šs
ø„÷ *ð *r4r£FNc óŽ•—||_||_i|_g|_tt
|�||t|j|||¬«y)N)r°rrÒrþrËrŽrö)Ú _prog_prefixÚ
_parser_classÚ_name_parser_mapÚ_choices_actionsr_rŸr`r) r+r°r\Ú parser_classrrËrŽrörbs €r2r`z_SubParsersAction.__init__¤sUø€ð!ˆÔØ)ˆÔØ "ˆÔØ "ˆÔä
Ô Ñ/Ø)ØÜØ×)Ñ)ØØØð 0õ r4c ó—|jd«€|j›d|›�|d<|jdd«}||jvrt |t d«|z«‚|D](}||jvsŒt |t d«|z«‚d|vr?|jd«}|j
|||«}|jj|«|jdi|¤Ž}||j|<|D]}||j|<Œ|S)Nr\r¦r¤r<zconflicting subparser: %szconflicting subparser alias: %srŽ)
rÎr§rÏr©rrsr£rªr&r¨)r+r0Úkwargsr¤ÚaliasrŽÚ
choice_actionrNs r2Ú
add_parserz_SubParsersAction.add_parser»s(€à �:‰:�fÓ Ð %Ø(,×(9Ó(9¹4Ð@ˆF�6‰Nà—*‘*˜Y¨Ó+ˆà �4×(Ñ(Ñ (Ü ¤aÐ(CÓ&DÀtÑ&KÓLÐ LØò HˆEؘ×-Ñ-Ò-Ü#Øœ!Ð=Ó>ÀÑFóHðHð Hð �VÑ Ø—:‘:˜fÓ%ˆDØ ×5Ñ5°d¸GÀTÓJˆMØ × !Ñ !× (Ñ (¨Ô 7ð$�×#Ñ#Ñ- fÑ-ˆØ&,ˆ×јdÑ#ðò 2ˆEØ+1ˆD× !Ñ ! %Ò (ð 2ðˆ
r4có—|jSr6)rªr:s r2rz!_SubParsersAction._get_subactionsÙs€Ø×$Ñ$Ð$r4có—|d}|dd}|jturt||j|« |j|}|j|d«\} }t| «j«D]\}
} t||
| «Œ|r?t|«jtg«t|t«j|«yy#t$r9|dj |j«dœ}t
d«|z}t||«‚wxYw)Nrrcr!)Ú parser_namerþz5unknown parser %(parser_name)r (choices: %(choices)s))rrrdr©ÚKeyErrorr*rsrÚparse_known_argsrr9Ú
setdefaultÚ_UNRECOGNIZED_ARGS_ATTRrFr³) r+rNrOrPràr³r-rvÚmsgÚ subnamespaceÚkeyr1s r2rQz_SubParsersAction.__call__Üs€Ø˜Q‘iˆ ؘQ˜R�jˆ ð �9‰9œHÑ $Ü �I˜tŸy™y¨+Ô 6ð +Ø×*Ñ*¨;Ñ7ˆFð%+×$;Ñ$;¸KÈÓ$NÑ!ˆ �kܘ|Ó,×2Ñ2Ó4ò +‰JˆC�Ü �I˜s EÕ *ð +ñ Ü �‹O× &Ñ &Ô'>ÀÔ CÜ �IÔ6Ó 7× >Ñ >¸{Õ Kð øô#ò +Ø#.Ø#Ÿy™y¨×)>Ñ)>Ó?ñAˆDäÐKÓLÈtÑSˆCÜ  cÓ*Ð *ð  +ús µC à AD r6) r$r=r>r
r£rr`r°rrQrfrgs@r2rŸrŸ˜s2ø„ô*˜vô*ðØØØõò.ò<%÷Lr4rŸcó—eZdZdd„Zy)Ú
_ExtendActionNcó˜—t||jd«}t|«}|j|«t ||j|«yr6)rFrrCr³rdr‚s r2rQz_ExtendAction.__call__ýrƒr4r6)r$r=r>rQr<r4r2r¼r¼üs„ô-r4r¼có$—eZdZdZdd„Zd„Zd„Zy)raÆFactory for creating file object types
Instances of FileType are typically passed as type= arguments to the
ArgumentParser add_argument() method.
Keyword Arguments:
- mode -- A string indicating how the file is to be opened. Accepts the
same values as the builtin open() function.
- bufsize -- The file's desired buffer size. Accepts the same values as
the builtin open() function.
- encoding -- The file's encoding. Accepts the same values as the
builtin open() function.
- errors -- A string indicating how encoding and decoding errors are to
be handled. Accepts the same value as the builtin open() function.
Ncó<—||_||_||_||_yr6)Ú_modeÚ_bufsizeÚ _encodingÚ_errors)r+ÚmodeÚbufsizeÚencodingÚerrorss r2r`zFileType.__init__s€ØˆŒ
؈Œ
Ø!ˆŒØˆ� r4cóF‡—|dk(rµd‰jvr8d‰jvrtjjStjSt ˆfd„dD««r8d‰jvrtj
jStj
St
d«‰jz}t|«‚ t|‰j‰j‰j‰j«S#t$r#}||dœ}t
d«}t||z«‚d}~wwxYw) Nú-ÚrÚbc3ó:•K—|]}|‰jv–—Œy­wr6)rÀ)r%r r+s €r2r&z$FileType.__call__.<locals>.<genexpr>#søèø€Ò4¨�Q˜$Ÿ*™*”_Ñ4ùsƒÚwaxzargument "-" with mode %r)ÚfilenameÚerrorz$can't open '%(filename)s': %(error)s)rÀrœÚstdinÚbufferÚanyr�rsrÈrãrÁrÂrÃÚOSErrorr)r+Ústringr¸Úervr<s` r2rQzFileType.__call__sëø€à �SŠ=Ø�d—j‘jÑ Ø,/°4·:±:Ñ,=”t—z‘z×(Ñ(ÐMÄ4Ç:Á:ÐMÜÓ4¨eÔ4Ô4Ø-0°D·J±JÑ->”t—{‘{×)Ñ)ÐOÄDÇKÁKÐOäÐ3Ó4°t·z±zÑA�Ü  “oÐ%ð 4ܘ §
¡
¨D¯M©M¸4¿>¹>ØŸ ™ ó&ð
&øäò 4Ø &°Ñ3ˆDÜÐ>Ó?ˆGÜ# G¨d¡NÓ3Ð 3ûð 4úsÂ=6C4Ã4 D Ã=DÄD c
óL—|j|jf}d|jfd|jfg}dj |D�cgc]}|dk7sŒ t |«‘Œc}|D��cgc]\}}|�|›d|›�‘Œc}}z«}t
|«j›d|›d�Scc}wcc}}w)NrÆrÇr!rÂrr r")rÀrÁrÂrÃr*r'r#r$)r+rvr­r/ÚkwÚargs_strs r2r3zFileType.__repr__2sŸ€Ø�z‰z˜4Ÿ=™=Ð(ˆØ˜tŸ~™~Ð.°¸4¿<¹<Ð0HÐIˆØ—9‘9°4ÖE¨C¸3À"»9œd 3�iÒEØAG÷2±g°b¸#Ø!$ ò*,©SÒ1ó2ñ2ó3ˆô  ›:×.Ó.²Ð9Ð9ùòFùó2sÁ
BÁ
BÁ#B )rÊrÂNN)r$r=r>r?r`rQr3r<r4r2rrs„ñó ò 4ó(:r4rcó"—eZdZdZd„Zd„Zd„Zy)r z“Simple object for storing attributes.
Implements equality by attribute names and values, and provides a simple
string representation.
c ó2—|D]}t||||«Œyr6)rd)r+r­r0s r2r`zNamespace.__init__Es!€Øò .ˆDÜ �D˜$  t¡ Õ -ñ .r4có\—t|t«stSt|«t|«k(Sr6)rúr ÚNotImplementedr)r+Úothers r2Ú__eq__zNamespace.__eq__Is%€Ü˜%¤Ô+Ü!Ð !Ü�D‹zœT %›[Ñ(Ð(r4có—||jvSr6)r8)r+rºs r2Ú __contains__zNamespace.__contains__Ns€Ø�d—m‘mÐ#Ð#r4N)r$r=r>r?r`rÞràr<r4r2r r >s„ñò .ò)ó
$r4r c󈇗eZdZˆfd„Zd„Zdd„Zd„Zd„Zd„Zd„Z d„Z
d „Z d
„Z d „Z
d „Zd
„Zdd„Zd„Zd„Zd„Zd„ZˆxZS)Ú_ActionsContainercó@•—tt|� «||_||_||_||_i|_|jddt«|jddt«|jddt«|jddt«|jddt«|jddt«|jddt«|jddt«|jdd t «|jdd
t"«|jdd t$«|jdd t&«|j)«g|_i|_g|_g|_i|_t5j6d
«|_g|_y)Nr”ÚstoreÚ store_constÚ
store_trueÚ store_falser&Ú append_constrŒrŽr˜Úparsersr³z^-\d+$|^-\d*\.\d+$)r_râr`Ú descriptionÚargument_defaultÚ prefix_charsÚconflict_handlerÚ _registriesÚregisterrirprvr|rr…r‰rŽr–rŸr¼Ú _get_handlerÚ_actionsÚ_option_string_actionsÚ_action_groupsÚ_mutually_exclusive_groupsÚ _defaultsrWrXÚ_negative_number_matcherÚ_has_negative_number_optionals)r+rêrìrërírbs €r2r`z_ActionsContainer.__init__Ts\ø€ô
Ô Ñ/Ô1à&ˆÔØ 0ˆÔØ(ˆÔØ 0ˆÔðˆÔð
�
‰