jaraco.classes
Utility functions for Python class constructs. Current version: 3.4.0. Maintained with regular updates.
Warnings
- breaking In version 3.4.0, the method 'old_method' was removed. Use 'new_method' instead.
- deprecated The 'legacy_function' is deprecated and will be removed in a future release.
- gotcha Ensure that 'arg1' and 'arg2' passed to ClassName are of the correct type to avoid runtime errors.
Install
-
pip install jaraco.classes
Imports
- ClassName
from jaraco.classes import ClassName
Quickstart
from jaraco.classes import ClassName # Initialize ClassName with appropriate arguments instance = ClassName(arg1, arg2) # Utilize instance methods instance.method()