module documentation
(source)

Undocumented

Function parse Parse a source file, without doing any semantic analysis.
def parse(source, fnam, module, errors, options): (source)

Parse a source file, without doing any semantic analysis.

Return the parse tree. If errors is not provided, raise ParseError on failure. Otherwise, use the errors object to report parse errors.

The python_version (major, minor) option determines the Python syntax variant.

Parameters
source:Union[str, bytes]Undocumented
fnam:strUndocumented
module:Optional[str]Undocumented
errors:Optional[Errors]Undocumented
options:OptionsUndocumented
Returns
MypyFileUndocumented