Function | functools_total_ordering_maker_callback |
Add dunder methods to classes decorated with functools.total_ordering. |
Constant | functools_total_ordering_makers |
Undocumented |
Function | _analyze_class |
Analyze the class body, its parents, and return the comparison methods found. |
Function | _find_other_type |
Find the type of the other argument in a comparison method. |
Constant | _ORDERING_METHODS |
Undocumented |
Variable | _MethodInfo |
Undocumented |
Parameters | |
ctx:mypy.plugin.ClassDefContext | Undocumented |
auto_attribs_default:bool | Undocumented |
Parameters | |
ctx:mypy.plugin.ClassDefContext | Undocumented |
Returns | |
Dict[ | Undocumented |
Parameters | |
method:_MethodInfo | Undocumented |
Returns | |
Type | Undocumented |