class documentation

class FunctionSemantic(enum.Enum): (source)

View In Hierarchy

A list of well-known properties and behaviour that can be attributed to a function.

Constant ABSTRACT The function is abstract.
Constant CLASS_METHOD The function is a classmethod.
Constant COROUTINE The function is a coroutine.
Constant FINAL The function is final.
Constant INSTANCE_METHOD The function is an instance method.
Constant NO_RETURN The function does not return.
Constant PROPERTY_DELETER The function is a property deleter.
Constant PROPERTY_GETTER The function is a property getter.
Constant PROPERTY_SETTER The function is a property setter.
Constant STATIC_METHOD The function is a staticmethod.
ABSTRACT: int = (source)

The function is abstract.

Value
0
CLASS_METHOD: int = (source)

The function is a classmethod.

Value
5
COROUTINE: int = (source)

The function is a coroutine.

Value
2
FINAL: int = (source)

The function is final.

Value
1
INSTANCE_METHOD: int = (source)

The function is an instance method.

Value
4
NO_RETURN: int = (source)

The function does not return.

Value
3
PROPERTY_DELETER: int = (source)

The function is a property deleter.

Value
9
PROPERTY_GETTER: int = (source)

The function is a property getter.

Value
7
PROPERTY_SETTER: int = (source)

The function is a property setter.

Value
8
STATIC_METHOD: int = (source)

The function is a staticmethod.

Value
6