# coding: utf-8 # AUTO-GENERATED FILE -- DO NOT EDIT """ Python wrapper for Expat parser. """ EXPAT_VERSION = 'expat_2.1.0' def ErrorString(errno): """ ErrorString(errno) -> string Returns string error for given number. """ return "" class ExpatError(Exception): pass def ParserCreate(encoding=None, namespace_separator=None): """ ParserCreate([encoding[, namespace_separator]]) -> parser Return a new XML parser object. """ return None class XMLParserType(object): """ XML parser """ def ExternalEntityParserCreate(self, context, encoding=None): """ ExternalEntityParserCreate(context[, encoding]) Create a parser for parsing an external entity based on the information passed to the ExternalEntityRefHandler. """ pass def GetBase(self): """ GetBase() -> url Return base URL string for the parser. """ return None def GetInputContext(self): """ GetInputContext() -> string Return the untranslated text of the input that caused the current event. If the event was generated by a large amount of text (such as a start tag for an element with many attributes), not all of the text may be available. """ return "" def Parse(self, data, isfinal=None): """ Parse(data[, isfinal]) Parse XML data. `isfinal' should be true at end of input. """ pass def ParseFile(self, file): """ ParseFile(file) Parse XML data from file-like object. """ pass def SetBase(self, base_url): """ SetBase(base_url) Set the base URL for the parser. """ pass def SetParamEntityParsing(self, flag): """ SetParamEntityParsing(flag) -> success Controls parsing of parameter entities (including the external DTD subset). Possible flag values are XML_PARAM_ENTITY_PARSING_NEVER, XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE and XML_PARAM_ENTITY_PARSING_ALWAYS. Returns true if setting the flag was successful. """ return None def UseForeignDTD(self, flag=None): """ UseForeignDTD([flag]) Allows the application to provide an artificial external subset if one is not specified as part of the document instance. This readily allows the use of a 'default' document type controlled by the application, while still getting the advantage of providing document type information to the parser. 'flag' defaults to True if not provided. """ pass XML_PARAM_ENTITY_PARSING_ALWAYS = 2 XML_PARAM_ENTITY_PARSING_NEVER = 0 XML_PARAM_ENTITY_PARSING_UNLESS_STANDALONE = 1 __doc__ = 'Python wrapper for Expat parser.' __file__ = 'C:\\src\\ide\\build-files\\build-temp\\runtimes-release\\__os__\\win32\\runtime-python3.4\\DLLs\\pyexpat.pyd' __loader__ = None __name__ = 'pyexpat' __package__ = '' __spec__ = None error = ExpatError errors = None expat_CAPI = None features = [] model = None native_encoding = 'UTF-8' version_info = ()