You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 36 / python2-deprecated-1.2.10-1.lbn36.noarch

python2-deprecated-1.2.10-1.lbn36.noarch

Package Attributes
RPM  python2-deprecated-1.2.10-1.lbn36.noarch.rpm Architecture  noarch Size  46983 Created  2023/03/22 03:18:32 UTC
Package Specification
Summary Python @deprecated decorator to deprecate old python classes, functions or methods
Group Unspecified
License MIT
Home Page https://github.com/tantale/deprecated
Description

Deprecated Library Deprecated is Easy to Use If you need to mark a function or a method as deprecated, you can use the @deprecated decorator:Save in a hello.py:.. code:: python from deprecated import deprecated @deprecated(version'1.2.1', reason"You should use another function") def some_old_function(x, y): return x + y class SomeClass(object): @deprecated(version'1.3.0', reason"This method is...

Requires
rpmlib(PayloadFilesHavePrefix)  
rpmlib(PayloadIsZstd)  
rpmlib(CompressedFileNames)  
rpmlib(PartialHardlinkSets)  
rpmlib(FileDigests)  
Provides
python2-deprecated

Document Actions