[issue3208] function annotation for builtin and C function

Alexandre Vassalotti report at bugs.python.org
Mon Jul 14 00:29:29 CEST 2008


Alexandre Vassalotti <alexandre at peadrop.com> added the comment:

Extension modules can use PyFunction_GetAnnotations() to access and
modify the annotations dictionary. In addition,
PyFunction_SetAnnotations() can be used to add annotations.

I added some documentation for these functions in r64934.

----------
nosy: +alexandre.vassalotti
resolution:  -> works for me
status: open -> closed

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue3208>
_______________________________________


More information about the Python-bugs-list mailing list