[Python-Dev] PEP 362 Third Revision

Yury Selivanov yselivanov at gmail.com
Thu Jun 14 05:06:47 CEST 2012


On 2012年06月13日, at 10:52 PM, Yury Selivanov wrote:
> 2. signature() function support all kinds of callables:
> classes, metaclasses, methods, class- & staticmethods,
> 'functools.partials', and callable objects. If a callable
> object has a '__signature__' attribute it does a deepcopy
> of it before return. 

Properly decorated functions are also supported.
-
Yury


More information about the Python-Dev mailing list

AltStyle によって変換されたページ (->オリジナル) /