todas as opções
bookworm  ] [  trixie  ] [  forky  ] [  sid  ]
[ Fonte: python-makefun  ]

Pacote: python3-makefun (1.15.4-2)

Links para python3-makefun

Screenshot

Recursos de Debian:

Baixe o pacote-fonte python-makefun:

Mantenedores(as):

Fontes externas:

Pacotes similares:

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.

Outros pacotes relacionados a python3-makefun

  • depende
  • recomenda
  • sugere
  • melhora

Download de python3-makefun

Baixe para todas as arquiteturas disponíveis
Arquitetura Tamanho do pacote Tamanho instalado Arquivos
all 25.6 kB107.0 kB [lista de arquivos]