全部搜尋項
bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: python-makefun  ]

套件:python3-makefun(1.15.2-1)

python3-makefun 的相關連結

Screenshot

Debian 的資源:

下載原始碼套件 python-makefun

維護小組:

外部的資源:

相似套件:

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 有關的套件

  • 依賴
  • 推薦
  • 建議
  • 增強

下載 python3-makefun

下載可用於所有硬體架構的
硬體架構 套件大小 安裝後大小 檔案
all 25。2 kB106。0 kB [檔案列表]