/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/__pycache__
Edit: /usr/lib/rads/venv/lib/python3.13/site-packages/pygments/__pycache__/util.cpython-313.pyc (14147B)
j/' ( S r SSKrSSKJr \R " S5 r\R " S\R \R - \R - 5 r \R " S\R \R - \R - 5 r\R " S\R 5 r
" S S \5 r " S
S\5 rS S jrS!S
jrS!S jrS!S jrS rS rS rS rS r0 rS rS rS"S jrS#S jr " S S5 r S r!S r"S r# " S S\5 r$g)$z
pygments.util
~~~~~~~~~~~~~
Utility functions.
:copyright: Copyright 2006-2025 by the Pygments team, see AUTHORS.
:license: BSD, see LICENSE for details.
N)
TextIOWrapperz[/\\ ]z
]*>
z<(.+?)(\s.*?)?>.*?z\s*<\?xml[^>]*\?>c \ rS rSrSrSrg)
ClassNotFound zCRaised if one of the lookup functions didn't find a matching class. N__name__
__module____qualname____firstlineno____doc____static_attributes__r @/usr/lib/rads/venv/lib/python3.13/site-packages/pygments/util.pyr r s Mr r c \ rS rSrSrSrg)OptionError" zw
This exception will be raised by all option processing functions if
the type or value of the argument is not correct.
r Nr r r r r r " s r r c U R X5 nU( a UR 5 nXR; a8 [ SR USR [ [ U5 5 5 5 eU$ )zq
If the key `optname` from the dictionary is not in the sequence
`allowed`, raise an error, otherwise return it.
z%Value for option {} must be one of {}z, )getlowerr formatjoinmapstr)optionsoptnamealloweddefaultnormcasestrings r get_choice_optr! ( sZ
[[
*F
AHHRVR[R[\_`cel\mRnoppMr c \ U R X5 n[ U[ 5 ( a U$ [ U[ 5 ( a [ U5 $ [ U[ 5 ( d [ SU< SU S35 eUR
5 S; a gUR
5 S; a g[ SU< SU S35 e) a
Intuitively, this is `options.get(optname, default)`, but restricted to
Boolean value. The Booleans can be represented as string, in order to accept
Boolean value from the command line arguments. If the key `optname` is
present in the dictionary `options` and is not associated with a Boolean,
raise an `OptionError`. If it is absent, `default` is returned instead.
The valid string values for ``True`` are ``1``, ``yes``, ``true`` and
``on``, the ones for ``False`` are ``0``, ``no``, ``false`` and ``off``
(matched case-insensitively).
Invalid type for option z%; use 1/0, yes/no, true/false, on/off)1yestrueonT)0nofalseoffFInvalid value )r
isinstanceboolintr r r r r r r s r get_bool_optr2 5 s [[
*F&$
FC F|
$
$M&<y I<