depth of the Python interpreter
    stack.  This limit prevents infinite recursion from causing an overflow
    of the C stack and crashing Python.
    """
    pass

def getrefcount(): # real signature unknown; restored from __doc__
    """
    Return the reference count of object.
    
    The count returned is generally one higher than you might expect,
    because it includes the (temporary) reference as an argument to
    getrefcount().
    """
    pass

def getsizeof(p_object, default=None): # real signature unknown; restored from __doc__
    """
    getsizeof(object [, default]) -> int
    
    Return the size of object in bytes.
    """
    return 0

def getswitchinterval(*args, **kwargs): # real signature unknown
    """ Return the current thread switch interval; see sys.setswitchinterval(). """
    pass

def gettrace(*args, **kwargs): # real signature unknown
    """
    Return the global debug tracing function set with sys.settrace.
    
    See the debugger chapter in the library manual.
    """
    pass

def getwindowsversion(*args, **kwargs): # real signature unknown
    """
    Return info about the running version of Windows as a named tuple.
    
    The members are named: major, minor, build, platform, service_pack,
    service_pack_major, service_pack_minor, suite_mask, product_type and
    platform_version. For backward compatibility, only the first 5 items
    are available by indexing. All elements are numbers, except
    service_pack and platform_type which are strings, and platform_version
    which is a 3-tuple. Platform is always 2. Product_type may be 1 for a
    workstation, 2 for a domain controller, 3 for a server.
    Platform_version is a 3-tuple containing a version number that is
    intended for identifying the OS rather than feature detection.
    """
    pass

def get_asyncgen_hooks(*args, **kwargs): # real signature unknown
    """
    Return the installed asynchronous generators hooks.
    
    This returns a namedtuple of the form (firstiter, finalizer).
    """
    pass

def get_coroutine_origin_tracking_depth(*args, **kwargs): # real signature unknown
    """ Check status of origin tracking for coroutine objects in this thread. """
    pass

def get_int_max_str_digits(*args, **kwargs): # real signature unknown
    """ Set the maximum string digits limit for non-binary int<->str conversions. """
    pass

def intern(*args, **kwargs): # real signature unknown
    """
    ``Intern'' the given string.
    
    This enters the string in the (global) table of interned strings whose
    purpose is to speed up dictionary lookups. Return the string itself or
    the previously interned string object with the same value.
    """
    pass

def is_finalizing(*args, **kwargs): # real signature unknown
    """ Return True if Python is exiting. """
    pass

def setprofile(function): # real signature unknown; restored from __doc__
    """
    setprofile(function)
    
    Set the profiling function.  It will be called on each function call
    and return.  See the profiler chapter in the library manual.
    """
    pass

def setrecursionlimit(*args, **kwargs): # real signature unknown
    """
    Set the maximum depth of the Python interpreter stack to n.
    
    This limit prevents infinite recursion from causing an overflow of the C
    stack and crashing Python.  The highest possible limit is platform-
    dependent.
    """
    pass

def setswitchinterval(*args, **kwargs): # real signature unknown
    """
    Set the ideal thread switching delay inside the Python interpreter.
    
    The actual frequency of switching threads can be lower if the
    interpreter executes long sequences of uninterruptible code
    (this is implementation-specific and workload-dependent).
    
    The parameter must represent the desired switching delay in seconds
    A typical value is 0.005 (5 milliseconds).
    """
    pass

def settrace(function): # real signature unknown; restored from __doc__
    """
    settrace(function)
    
    Set the global debug tracing function.  It will be called on each
    function call.  See the debugger chapter in the library manual.
    """
    pass

def set_asyncgen_hooks(*args, **kwargs): # real signature unknown; NOTE: unreliably restored from __doc__ 
    """
    set_asyncgen_hooks(* [, firstiter] [, finalizer])
    
    Set a finalizer for async generators objects.
    """
    pass

def set_coroutine_origin_tracking_depth(*args, **kwargs): # real signature unknown
    """
    Enable or disable origin tracking for coroutine objects in this thread.
    
    Coroutine objects will track 'depth' frames of traceback information
    about where they came from, available in their cr_origin attribute.
    
    Set a depth of 0 to disable.
    """
    pass

def set_int_max_str_digits(*args, **kwargs): # real signature unknown
    """ Set the maximum string digits limit for non-binary int<->str conversions. """
    pass

def unraisablehook(*args, **kwargs): # real signature unknown
    """
    Handle an unraisable exception.
    
    The unraisable argument has the following attributes:
    
    * exc_type: Exception type.
    * exc_value: Exception value, can be None.
    * exc_traceback: Exception traceback, can be None.
    * err_msg: Error message, can be None.
    * object: Object causing the exception, can be None.
    """
    pass

def _clear_type_cache(*args, **kwargs): # real signature unknown
    """ Clear the internal type lookup cache. """
    pass

def _current_exceptions(*args, **kwargs): # real signature unknown
    """
    Return a dict mapping each thread's identifier to its current raised exception.
    
    This function should be used for specialized purposes only.
    """
    pass

def _current_frames(*args, **kwargs): # real signature unknown
    """
    Return a dict mapping each thread's thread id to its current stack frame.
    
    This function should be used for specialized purposes only.
    """
    pass

def _debugmallocstats(*args, **kwargs): # real signature unknown
    """
    Print summary info to stderr about the state of pymalloc's structures.
    
    In Py_DEBUG mode, also perform some expensive internal consistency
    checks.
    """
    pass

def _enablelegacywindowsfsencoding(*args, **kwargs): # real signature unknown
    """
    Changes the default filesystem encoding to mbcs:replace.
    
    This is done for consistency with earlier versions of Python. See PEP
    529 for more information.
    
    This is equivalent to defining the PYTHONLEGACYWINDOWSFSENCODING
    environment variable before launching Python.
    """
    pass

def _getframe(*args, **kwargs): # real signature unknown
    """
    Return a frame object from the call stack.
    
    If optional integer depth is given, return the frame object that many
    calls below the top of the stack.  If that is deeper than the call
    stack, ValueError is raised.  The default for depth is zero, returning
    the frame at the top of the call stack.
    
    This function should be used for internal and specialized purposes
    only.
    """
    pass

def _getquickenedcount(*args, **kwargs): # real signature unknown
    pass

def __breakpointhook__(*args, **kwargs): # real signature unknown
    """
    breakpointhook(*args, **kws)
    
    This hook function is called by built-in breakpoint().
    """
    pass

def __displayhook__(*args, **kwargs): # real signature unknown
    """ Print an object to sys.stdout and also save it in builtins._ """
    pass

def __excepthook__(*args, **kwargs): # real signature unknown
    """ Handle an exception by displaying it with a traceback on sys.stderr. """
    pass

def __interactivehook__(): # reliably restored by inspect
    # no doc
    pass

def __unraisablehook__(*args, **kwargs): # real signature unknown
    """
    Handle an unraisable exception.
    
    The unraisable argument has the following attributes:
    
    * exc_type: Exception type.
    * exc_value: Exception value, can be None.
    * exc_traceback: Exception traceback, can be None.
    * err_msg: Error message, can be None.
    * object: Object causing the exception, can be None.
    """
    pass

# classes

class __loader__(object):
    """
    Meta path import for built-in modules.
    
        All methods are either class or static methods to avoid the need to
        instantiate the class.
    """
    def create_module(spec): # reliably restored by inspect
        """ Create a built-in module """
        pass

    def exec_module(module): # reliably restored by inspect
        """ Exec a built-in module """
        pass

    @classmethod
    def find_module(cls, *args, **kwargs): # real signature unknown
        """
        Find the built-in module.
        
                If 'path' is ever specified then the search is considered a failure.
        
                This method is deprecated.  Use find_spec() instead.
        """
        pass

    @classmethod
    def find_spec(cls, *args, **kwargs): # real signature unknown
        pass

    @classmethod
    def get_code(cls, *args, **kwargs): # real signature unknown
        """ Return None as built-in modules do not have code objects. """
        pass

    @classmethod
    def get_source(cls, *args, **kwargs): # real signature unknown
        """ Return None as built-in modules do not have source code. """
        pass

    @classmethod
    def is_package(cls, *args, **kwargs): # real signature unknown
        """ Return False as built-in modules are never packages. """
        pass

    @classmethod
    def load_module(cls, *args, **kwargs): # real signature unknown
        """
        Load the specified module into sys.modules and return it.
        
            This method is deprecated.  Use loader.exec_module() instead.
        """
        pass

    def module_repr(module): # reliably restored by inspect
        """
        Return repr for the module.
        
                The method is deprecated.  The import machinery does the job itself.
        """
        pass

    def __init__(self, *args, **kwargs): # real signature unknown
        pass

    __weakref__ = property(lambda self: object(), lambda self, v: None, lambda self: None)  # default
    """list of weak references to the object (if defined)"""


    _ORIGIN = 'built-in'
    __dict__ = None # (!) real value is "mappingproxy({'__module__': '_frozen_importlib', '__doc__': 'Meta path import for built-in modules.\\n\\n    All methods are either class or static methods to avoid the need to\\n    instantiate the class.\\n\\n    ', '_ORIGIN': 'built-in', 'module_repr': <staticmethod(<function BuiltinImporter.module_repr at 0x0000017F1B6A28E0>)>, 'find_spec': <classmethod(<function BuiltinImporter.find_spec at 0x0000017F1B6A2980>)>, 'find_module': <classmethod(<function BuiltinImporter.find_module at 0x0000017F1B6A2A20>)>, 'create_module': <staticmethod(<function BuiltinImporter.create_module at 0x0000017F1B6A2AC0>)>, 'exec_module': <staticmethod(<function BuiltinImporter.exec_module at 0x0000017F1B6A2B60>)>, 'get_code': <classmethod(<function BuiltinImporter.get_code at 0x0000017F1B6A2CA0>)>, 'get_source': <classmethod(<function BuiltinImporter.get_source at 0x0000017F1B6A2DE0>)>, 'is_package': <classmethod(<function BuiltinImporter.is_package at 0x0000017F1B6A2F20>)>, 'load_module': <classmethod(<function _load_module_shim at 0x0000017F1B6A1C60>)>, '__dict__': <attribute '__dict__' of 'BuiltinImporter' objects>, '__weakref__': <attribute '__weakref__' of 'BuiltinImporter' objects>})"


# variables with complex values

argv = [] # real value of type <class 'list'> skipped

builtin_module_names = () # real value of type <class 'tuple'> skipped

flags = (
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    0,
    1,
    0,
    False,
    0,
    0,
    False,
    -1,
)

float_info = (
    1.7976931348623157e+308,
    1024,
    308,
    2.2250738585072014e-308,
    -1021,
    -307,
    15,
    53,
    2.220446049250313e-16,
    2,
    1,
)

hash_info = (
    64,
    2305843009213693951,
    314159,
    0,
    1000003,
    'siphash13',
    64,
    128,
    0,
)

implementation = None # (!) real value is "namespace(name='cpython', cache_tag='cpython-311', version=sys.version_info(major=3, minor=11, micro=0, releaselevel='final', serial=0), hexversion=51052784)"

int_info = (
    30,
    4,
    4300,
    640,
)

meta_path = [
    None, # (!) real value is '<_distutils_hack.DistutilsMetaFinder object at 0x0000017F1B99E650>'
    __loader__,
    None, # (!) real value is "<class '_frozen_importlib.FrozenImporter'>"
    None, # (!) real value is "<class '_frozen_importlib_external.PathFinder'>"
    None, # (!) real value is '<six._SixMetaPathImporter object at 0x0000017F1DE1BFD0>'
]

modules = {} # real value of type <class 'dict'> skipped

orig_argv = [
    'C:\\Program Files\\Python311\\python.exe',
    '-c',
    'from multiprocessing.spawn import spawn_main; spawn_main(parent_pid=7620, pipe_handle=588)',
    '--multiprocessing-fork',
]

path = [
    'C:\\Program Files\\JetBrains\\PyCharm Community Edition 2022.2.3\\plugins\\python-ce\\helpers',
    'C:\\Program Files\\JetBrains\\PyCharm Community Edition 2022.2.3\\plugins\\python-ce\\helpers\\generator3',
    'C:\\Program Files\\JetBrains\\PyCharm Community Edition 2022.2.3\\plugins\\python-ce\\helpers',
    'C:\\Program Files\\Python311\\python311.zip',
    'C:\\Program Files\\Python311\\Lib',
    'C:\\Program Files\\Python311\\DLLs',
    'C:\\Program Files\\Python311',
    'C:\\Program Files\\Python311\\Lib\\site-packages',
    'C:/Program Files/Python311/Lib',
    'C:/Program Files/Python311/DLLs',
    'C:/Program Files/Python311',
    'C:/Program Files/Python311/Lib/site-packages',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stdlib',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/six',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/boto',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/mock',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/pytz',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/toml',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/annoy',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/babel',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/emoji',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/first',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/fpdf2',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/ldap3',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/polib',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/redis',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/regex',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/retry',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/ujson',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/helpers/typeshed/stubs/bleach',
    'C:/Program Files/JetBrains/PyCharm Community Edition 2022.2.3/plugins/python-ce/help# encoding: utf-8
# module pyexpat.errors
# from C:\Program Files\Python311\DLLs\pyexpat.pyd
# by generator 1.147
""" Constants used to describe error conditions. """
# no imports

# Variables with simple values

XML_ERROR_ABORTED = 'parsing aborted'

XML_ERROR_AMPLIFICATION_LIMIT_BREACH = 'limit on input amplification factor (from DTD and entities) breached'

XML_ERROR_ASYNC_ENTITY = 'asynchronous entity'

XML_ERROR_ATTRIBUTE_EXTERNAL_ENTITY_REF = 'reference to external entity in attribute'

XML_ERROR_BAD_CHAR_REF = 'reference to invalid character number'

XML_ERROR_BINARY_ENTITY_REF = 'reference to binary entity'

XML_ERROR_CANT_CHANGE_FEATURE_ONCE_PARSING = 'cannot change setting once parsing has begun'

XML_ERROR_DUPLICATE_ATTRIBUTE = 'duplicate attribute'

XML_ERROR_ENTITY_DECLARED_IN_PE = 'entity declared in parameter entity'

XML_ERROR_EXTERNAL_ENTITY_HANDLING = 'error in processing external entity reference'

XML_ERROR_FEATURE_REQUIRES_XML_DTD = 'requested feature requires XML_DTD support in Expat'

XML_ERROR_FINISHED = 'parsing finished'

XML_ERROR_INCOMPLETE_PE = 'incomplete markup in parameter entity'

XML_ERROR_INCORRECT_ENCODING = 'encoding specified in XML declaration is incorrect'

XML_ERROR_INVALID_ARGUMENT = 'invalid argument'
XML_ERROR_INVALID_TOKEN = 'not well-formed (invalid token)'

XML_ERROR_JUNK_AFTER_DOC_ELEMENT = 'junk after document element'

XML_ERROR_MISPLACED_XML_PI = 'XML or text declaration not at start of entity'

XML_ERROR_NOT_STANDALONE = 'document is not standalone'
XML_ERROR_NOT_SUSPENDED = 'parser not suspended'

XML_ERROR_NO_BUFFER = 'a successful prior call to function XML_GetBuffer is required'
XML_ERROR_NO_ELEMENTS = 'no element found'
XML_ERROR_NO_MEMORY = 'out of memory'

XML_ERROR_PARAM_ENTITY_REF = 'illegal parameter entity reference'

XML_ERROR_PARTIAL_CHAR = 'partial character'

XML_ERROR_PUBLICID = 'illegal character(s) in public id'

XML_ERROR_RECURSIVE_ENTITY_REF = 'recursive entity reference'

XML_ERROR_RESERVED_NAMESPACE_URI = 'prefix must not be bound to one of the reserved namespace names'

XML_ERROR_RESERVED_PREFIX_XML = 'reserved prefix (xml) must not be undeclared or bound to another namespace name'
XML_ERROR_RESERVED_PREFIX_XMLNS = 'reserved prefix (xmlns) must not be declared or undeclared'

XML_ERROR_SUSPENDED = 'parser suspended'

XML_ERROR_SUSPEND_PE = 'cannot suspend in external parameter entity'

XML_ERROR_SYNTAX = 'syntax error'

XML_ERROR_TAG_MISMATCH = 'mismatched tag'

XML_ERROR_TEXT_DECL = 'text declaration not well-formed'

XML_ERROR_UNBOUND_PREFIX = 'unbound prefix'

XML_ERROR_UNCLOSED_CDATA_SECTION = 'unclosed CDATA section'

XML_ERROR_UNCLOSED_TOKEN = 'unclosed token'

XML_ERROR_UNDECLARING_PREFIX = 'must not undeclare prefix'

XML_ERROR_UNDEFINED_ENTITY = 'undefined entity'

XML_ERROR_UNEXPECTED_STATE = 'unexpected parser state - please send a bug report'

XML_ERROR_UNKNOWN_ENCODING = 'unknown encoding'

XML_ERROR_XML_DECL = 'XML declaration not well-formed'

__loader__ = None

__spec__ = None

# no functions
# no classes
# variables with complex values

codes = {
    'XML declaration not well-formed': 30,
    'XML or text declaration not at start of entity': 17,
    'a successful prior call to function XML_GetBuffer is required': 42,
    'asynchronous entity': 13,
    'cannot change setting once parsing has begun': 26,
    'cannot suspend in external parameter entity': 37,
    'document is not standalone': 22,
    'duplicate attribute': 8,
    'encoding specified in XML declaration is incorrect': 19,
    'entity declared in parameter entity': 24,
    'error in processing external entity reference': 21,
    'illegal character(s) in public id': 32,
    'illegal parameter entity reference': 10,
    'incomplete markup in parameter entity': 29,
    'invalid argument': 41,
    'junk after document element': 9,
    'limit on input amplification factor (from DTD and entities) breached': 43,
    'mismatched tag': 7,
    'must not undeclare prefix': 28,
    'no element found': 3,
    'not well-formed (invalid token)': 4,
    'out of memory': 1,
    'parser not suspended': 34,
    'parser suspended': 33,
    'parsing aborted': 35,
    'parsing finished': 36,
    'partial character': 6,
    'prefix must not be bound to one of the reserved namespace names': 40,
    'recursive entity reference': 12,
    'reference to binary entity': 15,
    'reference to external entity in attribute': 16,
    'reference to invalid character number': 14,
    'requested feature requires XML_DTD support in Expat': 25,
    'reserved prefix (xml) must not be undeclared or bound to another namespace name': 38,
    'reserved prefix (xmlns) must not be declared or undeclared': 39,
    'syntax error': 2,
    'text declaration not well-formed': 31,
    'unbound prefix': 27,
    'unclosed CDATA section': 20,
    'unclosed token': 5,
    'undefined entity': 11,
    'unexpected parser state - please send a bug report': 23,
    'unknown encoding': 18,
}

messages = {
    1: 'out of memory',
    2: 'syntax error',
    3: 'no element found',
    4: 'not well-formed (invalid token)',
    5: 'unclosed token',
    6: 'partial character',
    7: 'mismatched tag',
    8: 'duplicate attribute',
    9: 'junk after document element',
    10: 'illegal parameter entity reference',
    11: 'undefined entity',
    12: 'recursive entity reference',
    13: 'asynchronous entity',
    14: 'reference to invalid character number',
    15: 'reference to binary entity',
    16: 'reference to external entity in attribute',
    17: 'XML or text declaration not at start of entity',
    18: 'unknown encoding',
    19: 'encoding specified in XML declaration is incorrect',
    20: 'unclosed CDATA section',
    21: 'error in processing external entity reference',
    22: 'document is not standalone',
    23: 'unexpected parser state - please send a bug report',
    24: 'entity declared in parameter entity',
    25: 'requested feature requires XML_DTD support in Expat',
    26: 'cannot change setting once parsing has begun',
    27: 'unbound prefix',
    28: 'must not undeclare prefix',
    29: 'incomplete markup in parameter entity',
    30: 'XML declaration not well-formed',
    31: 'text declaration not well-formed',
    32: 'illegal character(s) in public id',
    33: 'parser suspended',
    34: 'parser not suspended',
    35: 'parsing aborted',
    36: 'parsing finished',
    37: 'cannot suspend in external parameter entity',
    38: 'reserved prefix (xml) must not be undeclared or bound to another namespace name',
    39: 'reserved prefix (xmlns) must not be declared or undeclared',
    40: 'prefix must not be bound to one of the reserved namespace names',
    41: 'invalid argument',
    42: 'a successful prior call to function XML_GetBuffer is required',
    43: 'limit on input amplification factor (from DTD and entities) breached',
}

