aspectlib.ALL_METHODS | Compiled regular expression objects |
aspectlib.NORMAL_METHODS | Compiled regular expression objects |
aspectlib.weave | Send a message to a recipient |
aspectlib.Rollback | When called, rollbacks all the patches and changes the weave() has done. |
aspectlib.Aspect | Container for the advice yielding generator. |
aspectlib.Proceed | Instructs the Aspect Calls to call the decorated function. Can be used multiple times. |
aspectlib.Return | Instructs the Aspect to return a value. |
Container for the advice yielding generator. Can be used as a decorator on other function to change behavior according to the advices yielded from the generator.
Instructs the Aspect Calls to call the decorated function. Can be used multiple times.
If not used as an instance then the default args and kwargs are used.
When called, rollbacks all the patches and changes the weave() has done.
Alias of __exit__.
Alias of __exit__.
Compiled regular expression objects
Compiled regular expression objects
Send a message to a recipient
Parameters: |
|
---|---|
Returns: | aspectlib.Rollback instance |
Raises TypeError: | |
If target is a unacceptable object, or the specified options are not available for that type of object. |
Changed in version 0.4.0: Replaced only_methods, skip_methods, skip_magicmethods options with methods. Renamed on_init option to lazy. Added aliases option. Replaced skip_subclasses option with subclasses.