The composite types for Sphinx.
Unknown Field: copyright | |
Copyright 2007-2022 by the Sphinx team, see AUTHORS. | |
Unknown Field: license | |
BSD, see LICENSE for details. |
Constant | INVALID_BUILTIN_CLASSES |
Undocumented |
Variable | Inventory |
Undocumented |
Variable | InventoryItem |
Undocumented |
Variable | NoneType |
Undocumented |
Variable | OptionSpec |
Undocumented |
Variable | PathMatcher |
Undocumented |
Variable | RoleFunction |
Undocumented |
Variable | TextlikeNode |
Undocumented |
Variable | TitleGetter |
Undocumented |
Variable | UnionType |
Undocumented |
Function | _restify_py36 |
Undocumented |
Function | _restify_py37 |
Convert python class to a reST reference. |
Function | _stringify_py36 |
stringify() for py36. |
Function | _stringify_py37 |
stringify() for py37+. |
Function | get_type_hints |
Return a dictionary containing type hints for a function, method, module or class object. |
Function | is_system_TypeVar |
Check typ is system defined TypeVar. |
Function | restify |
Convert python class to a reST reference. |
Function | stringify |
Stringify type annotation object. |
Undocumented
Value |
|
Undocumented
Parameters | |
mode:str | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
mode:str | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
annotation:Any | Undocumented |
mode:str | Undocumented |
Returns | |
str | Undocumented |
Parameters | |
annotation:Any | Undocumented |
mode:str | Undocumented |
Returns | |
str | Undocumented |
Return a dictionary containing type hints for a function, method, module or class object.
This is a simple wrapper of typing.get_type_hints()
that does not raise an error on
runtime.
Parameters | |
obj:Any | Undocumented |
globalns:Dict | Undocumented |
localns:Dict | Undocumented |
Returns | |
Dict[ | Undocumented |
Parameters | |
typ:Any | Undocumented |
Returns | |
bool | Undocumented |
Parameters | |
mode:str | Specify a method how annotations will be stringified.
|
Returns | |
str | Undocumented |
Parameters | |
annotation:Any | Undocumented |
mode:str | Specify a method how annotations will be stringified.
|
Returns | |
str | Undocumented |