You are here: Home / LBN / Up2date / Plone 5 / BastionLinux 25 / python2-deprecated-1.2.10-1.lbn25.noarch

python2-deprecated-1.2.10-1.lbn25.noarch

Package Attributes
RPM  python2-deprecated-1.2.10-1.lbn25.noarch.rpm Architecture  noarch Size  46983 Created  2022/09/06 08:46:15 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(PartialHardlinkSets)  
rpmlib(CompressedFileNames)  
rpmlib(FileDigests)  
Provides
python2-deprecated
python2.7dist(deprecated)
python2dist(deprecated)

Document Actions