module documentation

Custom implementations of builtin types.

Class Abs Implements abs.
Class AssertType For debugging. assert_type(x, t) asserts that the type of "x" is "t".
Class BinaryPredicate The base class for builtin predicates of the form f(obj, value).
Class BuiltinClass Implementation of classes in builtins.pytd.
Class BuiltinFunction Implementation of functions in builtins.pytd.
Class ClassMethod Undocumented
Class ClassMethodCallable Tag a ClassMethod bound function so we can dispatch on it.
Class ClassMethodInstance ClassMethod instance (constructed by ClassMethod.call()).
Class ClassMethodTemplate Class method decorator.
Class Dict Implementation of builtins.dict.
Class HasAttr The hasattr() function.
Class IsCallable The callable() function.
Class IsInstance The isinstance() function.
Class IsSubclass The issubclass() function.
Class Next Implements next.
Class Object Implementation of builtins.object.
Class ObjectPredicate The base class for builtin predicates of the form f(obj, ...) -> bool.
Class Property Property method decorator.
Class PropertyInstance Property instance (constructed by Property.call()).
Class PropertyTemplate Template for property decorators.
Class RevealType For debugging. reveal_type(x) prints the type of "x".
Class StaticMethod Undocumented
Class StaticMethodInstance StaticMethod instance (constructed by StaticMethod.call()).
Class StaticMethodTemplate Static method decorator.
Class Super The super() function. Calling it will create a SuperInstance.
Class SuperInstance The result of a super() call, i.e., a lookup proxy.
Class Type Undocumented
Class TypeNew Implements type.__new__.
Class TypeTemplate Undocumented
Class UnaryPredicate The base class for builtin predicates of the form f(obj).
Function get_file_mode Undocumented
Function _check_method_decorator_arg Check that @classmethod or @staticmethod are applied to a function.
Function _is_fn_abstract Undocumented
def get_file_mode(sig, args): (source)

Undocumented

def _check_method_decorator_arg(fn_var, name, ctx): (source)

Check that @classmethod or @staticmethod are applied to a function.

def _is_fn_abstract(func_var): (source)

Undocumented