Decorator

Latest version: v5.2.1

Safety actively analyzes 710445 Python packages for vulnerabilities to keep your Python projects secure.

Scan your dependencies

Page 9 of 11

2.0

Rewritten and simplified the implementation; broken compatibility
with previous versions (in minor ways); added the utility function
'update_wrapper' instead of 'newfunc'.

1.1

'decorator' instances now have attributes __name__, __doc__,
__module__ and __dict__ coming from the associated caller function;
included the licence into the documentation.

1.0

Added LICENSE.txt; added a setuptools-friendly setup.py script
contributed by Luke Arno.

0.8.1

Minor fixes to the documentation.

0.8

Improved the documentation, added the 'caveats' section.

0.7.1

Improved the tail_recursive example.

Page 9 of 11

© 2025 Safety CLI Cybersecurity Inc. All Rights Reserved.