[ 源代码: python-makefun ]
软件包:python3-makefun(1.15.2-1)
python3-makefun 的相关链接
Debian 的资源:
下载源码包 python-makefun:
- [python-makefun_1.15.2-1.dsc]
- [python-makefun_1.15.2.orig.tar.gz]
- [python-makefun_1.15.2-1.debian.tar.xz]
维护小组:
外部的资源:
- 主页 [smarie.github.io]
相似软件包:
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.
其他与 python3-makefun 有关的软件包
|
|
|
|
-
- dep: python3
- 交互式高级面向对象语言(默认 python3 版本)
-
- dep: python3-funcsigs
- function signatures from PEP362 - Python 3.x
- 或者 python3-supported-min (>= 3.3)
- 软件包暂时不可用