[ Bron: python-makefun ]
Pakket: python3-makefun (1.15.2-1)
Verwijzigingen voor python3-makefun
Debian bronnen:
Het bronpakket python-makefun downloaden:
- [python-makefun_1.15.2-1.dsc]
- [python-makefun_1.15.2.orig.tar.gz]
- [python-makefun_1.15.2-1.debian.tar.xz]
Beheerders:
Externe bronnen:
- Homepage [smarie.github.io]
Vergelijkbare pakketten:
Small library to dynamically create Python functions
makefun helps one create functions dynamically, with the signature of their choice. It was largely inspired by decorator and functools, and created mainly to cover some of their limitations.
Its typical use cases are:
- creating signature-preserving function wrappers - just like functools.wraps but with accurate TypeError exception raising when user-provided arguments are wrong, and with a very convenient way to access argument values;
- creating function wrappers that have more or less arguments that the function they wrap;
- more generally, creating functions with a signature derived from a reference signature;
- or even creating functions with a signature completely defined at runtime.
Andere aan python3-makefun gerelateerde pakketten
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
-
- dep: python3-funcsigs
- function signatures from PEP362 - Python 3.x
- of python3-supported-min (>= 3.3)
- Pakket niet beschikbaar