Directives in the Python domain
The domain name is py. See https://www.sphinx-doc.org/en/master/usage/domains/python.html.
The py:module directive, showing the docstring for the whole module.
The second line of the module docstring.
- async my_module.my_function(parameter: ParameterT = default_value) ReturnT
The
py:functiondirective.
- async my_module.my_function_type_parameters[ParameterT](parameter: ParameterT) ParameterT
The
py:functiondirective, using Python 3.12 type parameters.
- my_module.my_data: type = initial_value
The
py:datadirective.
- exception my_module.MyException
The
py:exceptiondirective.
- final exception my_module.MyExceptionFinal
The
py:exceptiondirective,final.
- exception my_module.MyException_type_parameters(parameters)
The
py:exceptiondirective.
- exception my_module.MyExceptionTypeParameters[ParameterT](parameter: ParameterT)
The
py:exceptiondirective, using Python 3.12 type parameters.
- class my_module.MyClass
The
py:classdirective.
- final class my_module.MyClassFinal
The
py:classdirective,final.
- class my_module.MyClassParameters(parameters)
The
py:classdirective.
- class my_module.MyClassTypeParameters[ParameterT](parameter: ParameterT)
The
py:classdirective, using Python 3.12 type parameters.
- my_module.my_attribute: type = initial_value
The
py:attributedirective.
- property my_module.my_property: type
The
py:propertydirective.
- abstract class property my_module.my_property2: type
The
py:propertydirective, using the:abstractmethod:and:classmethod:flags.
- type my_module.MyType = my_module.MyType
The
py:typedirective.
- final abstractmethod async classmethod static my_module.my_method_type_parameters[ParameterT](parameter: ParameterT) ParameterT
The
py:methoddirective, using all of the:abstractmethod:,:async:,:classmethod:,:final:, and:staticmethod:flags, using Python 3.12 type parameters.
- static my_module.my_staticmethod(parameters)
The
py:staticmethoddirective.
- static my_module.my_staticmethod_type_parameters[ParameterT](parameter: ParameterT) ParameterT
The
py:staticmethoddirective, using Python 3.12 type parameters.
- classmethod my_module.my_classmethod(parameters)
The
py:classmethoddirective.
- classmethod my_module.my_classmethod_type_parameters[ParameterT](parameter: ParameterT) ParameterT
The
py:classmethoddirective, using Python 3.12 type parameters.
- @my_module.my_decorator
The
py:decoratordirective.
- @my_module.my_decorator_parameters(parameters)
The
py:decoratordirective.
- @my_module.my_decorator_type_parameters[ParameterT](parameter: ParameterT)
The
py:decoratordirective, using Python 3.12 type parameters.
- @my_module.my_decoratormethod
The
py:decoratormethoddirective.
- @my_module.my_decoratormethod_signature(signature)
The
py:decoratormethoddirective.
- @my_module.my_decoratormethod_signature_type_parameters[ParameterT](signature)
The
py:decoratormethoddirective, using Python 3.12 type parameters.