API Reference¶
This page lists the main touketsu components. Please refer to the
User Guide for usage details.
Below we list the main decorators that will be accessed by users.
|
Makes a class immutable and modifies the class docstring. |
|
Makes a class immutable without modifying the class docstring. |
|
Makes a class nondynamic and modifies the class docstring. |
|
Makes a class nondynamic without modifying the class docstring. |
These are produced by the factory method
class_decorator_factory() listed below.
|
|
The class decorator urt_class() undos the effect of an
applied class decorator, returning the class back to its original undecorated
state. If applied to a non-decorated class, it returns the class itself.
|
Remove the |
The orig_init() can be used to gain access to a class’s
original undecorated __init__() function, which is necessary when
subclassing a decorated class.
|
Return original |
The decorator urt_method() temporarily removes a
touketsu restriction from a class instance during the instance method’s
execution.
|
Decorate instance methods to temporarily allow attribute creation. |