module documentation
Utilities for parsing pytd files for builtins.
Class |
|
Load builtins from the pytype source tree. |
Class |
|
The builtins and typing modules, which need to be treated specially. |
Function |
|
Undocumented |
Function |
|
Undocumented |
Function |
|
Get the contents of a predefined PyTD, typically with a file name *.pytd. |
Function |
|
Undocumented |
Constant | DEFAULT |
Undocumented |
Variable | _cached |
Undocumented |
Get the contents of a predefined PyTD, typically with a file name *.pytd. Arguments: stubs_subdir: the directory, typically "builtins" or "stdlib" module: module name (e.g., "sys" or "__builtins__") extension: either ".pytd" or ".py" as_package: try the module as a directory with an __init__ file Returns: The contents of the file Raises: IOError: if file not found