You are here: Home / LBN / Up2date / Plone and Zope / BastionLinux 36 / python2-dm-reuse-2.2-1.lbn36.noarch

python2-dm-reuse-2.2-1.lbn36.noarch

Package Attributes
RPM  python2-dm-reuse-2.2-1.lbn36.noarch.rpm Architecture  noarch Size  50665 Created  2023/03/22 03:18:33 UTC
Package Specification
Summary Support for object reuse with slight modifications
Group Unspecified
License BSD (see "dm/reuse/LICENSE.txt", for details)
Home Page https://pypi.org/project/dm.reuse
Description

Utilities to reuse (slightly modified) objects in new contexts.Currently, there is are two utilities: rebindFunction and OverridingProxy.rebindFunction ++++++++++++++++++rebindFunction allows to reuse the code of a function while changing name, globals, default arguments, properties and/or names used.Lets look at a trivial example. Function f accesses global variables i and j.Examples >>> i 1;...

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

Document Actions