/opt/imunify360/venv/lib/python3.11/site-packages/docutils/__pycache__
Edit: /opt/imunify360/venv/lib/python3.11/site-packages/docutils/__pycache__/frontend.cpython-311.pyc (46032B)
§
œZ•}ÿ‚Rã óÒ — d Z dZddlZddlZddlZddlmZ ddlZddlZddlZddl Z ddl
Z
ddl
mZmZ d„ Z
d„ Z d#d„Z d#d „Z d#d
„Z d#d„Z d#d„Z d#d
„Z d#d„Z d#d„Z d#d„Z d#d„Z d#d„Z d#d„Z d#d„Zd$d„Zd„ Zd„ Z G d„ dej ¦ « Z G d„ dej ¦ « Z G d„ dej! e
j" ¦ « Z! G d„ dej# ¦ « Z$ G d „ d!e%¦ « Z&d"„ Z'dS )%a
Command-line and common processing for Docutils front-end tools.
This module is provisional.
Major changes will happen with the switch from the deprecated
"optparse" module to "arparse".
Applications should use the high-level API provided by `docutils.core`.
See https://docutils.sourceforge.io/docs/api/runtime-settings.html.
Exports the following classes:
* `OptionParser`: Standard Docutils command-line processing.
Deprecated. Will be replaced by an ArgumentParser.
* `Option`: Customized version of `optparse.Option`; validation support.
Deprecated. Will be removed.
* `Values`: Runtime settings; objects are simple structs
(``object.attribute``). Supports cumulative list settings (attributes).
Deprecated. Will be removed.
* `ConfigParser`: Standard Docutils config file processing.
Provisional. Details will change.
Also exports the following functions:
Interface function:
`get_default_settings()`. New in 0.19.
Option callbacks:
`store_multiple()`, `read_config_file()`. Deprecated.
Setting validators:
`validate_encoding()`, `validate_encoding_error_handler()`,
`validate_encoding_and_error_handler()`,
`validate_boolean()`, `validate_ternary()`,
`validate_nonnegative_int()`, `validate_threshold()`,
`validate_colon_separated_string_list()`,
`validate_comma_separated_list()`,
`validate_url_trailing_slash()`,
`validate_dependency_file()`,
`validate_strip_class()`
`validate_smartquotes_locales()`.
Provisional.
Misc:
`make_paths_absolute()`, `filter_settings_spec()`. Provisional.
ÚreStructuredTexté N)Ú
SUPPRESS_HELP)ÚioÚutilsc óœ — |D ]}t |j |d¦ « Œ| ¦ « D ]\ }}t |j ||¦ « ŒdS )zÀ
Store multiple values in `parser.values`. (Option callback.)
Store `None` for each attribute named in `args`, and store the value for
each key (attribute name) in `kwargs`.
N)ÚsetattrÚvaluesÚitems)ÚoptionÚoptÚvalueÚparserÚargsÚkwargsÚ attributeÚkeys úq/builddir/build/BUILD/imunify360-venv-2.6.3/opt/imunify360/venv/lib/python3.11/site-packages/docutils/frontend.pyÚstore_multipler E sf € ð ð 0ð 0ˆ Ý�”
˜y¨$Ñ/Ô/Ð/Ð/Ø—l’l‘n”nð +ð +‰
ˆˆUÝ�”
˜s EÑ*Ô*Ð*Ð*ð+ð +ó c óÂ — | |¦ « }n,# t $ r}| |¦ « Y d}~nd}~ww xY w|j ||¦ « dS )zQ
Read a configuration file during option processing. (Option callback.)
N)Úget_config_file_settingsÚ
ValueErrorÚerrorr Úupdate)r r r
r Únew_settingsÚerrs r Úread_config_filer R sz € ðØ×6Ò6°uÑ=Ô=ˆˆøÝð ð ð Ø�Š�SÑÔÐÐÐÐÐÐøøøøðøøøà
„M×Ò˜ vÑ.Ô.Ð.Ð.Ð.s ‚ ˜
A¢<¼Ac óŠ — |dk rd S t j |¦ « n$# t $ r t d| ›d|›d�¦ « ‚w xY w|S )NÚ z setting "z": unknown encoding: "ú")ÚcodecsÚlookupÚLookupError©Úsettingr
Ú
option_parserÚ
config_parserÚconfig_sections r Úvalidate_encodingr) ] sp € à�‚{€{؈tð.ÝŒ
�eÑÔÐÐøÝð .ð .ð .݈kØ$˜W˜W e e eð-ñ .ô .ð .ð.øøøð €Ls Š Ÿ!A c ór — t j |¦ « n # t $ r t d|z ¦ « ‚w xY w|S )Nz¿unknown encoding error handler: "%s" (choices: "strict", "ignore", "replace", "backslashreplace", "xmlcharrefreplace", and possibly others; see documentation for the Python ``codecs`` module))r! Úlookup_errorr# r$ s r Úvalidate_encoding_error_handlerr, i s^ € ð5ÝÔ˜EÑ"Ô"Ð"Ð"øÝð 5ð 5ð 5Ýð
,ð /4ñ
4ñ5ô 5ð 5ð5øøøð €Ls ‚ —4c ó — d|v re| d¦ « \ }}t | dz ||||¦ « |r| || dz |¦ « nt |j | dz |¦ « n|}t | ||||¦ « |S )zš
Side-effect: if an error handler is included in the value, it is inserted
into the appropriate place as if it was a separate setting/option.
ú:Ú_error_handler)Úsplitr, Úsetr r r) )r% r
r&