[issue1554133] PyOS_InputHook() and related API funcs. not documented

A.M. Kuchling report at bugs.python.org
Fri May 24 23:20:22 CEST 2013


A.M. Kuchling added the comment:

One question about the patch: how to give the prototype expected for the function?  I currently have it as:

char *(*PyOS_ReadlineFunctionPointer)(FILE *stdin, FILE *stdout, char *prompt)

Would it be better with a trivial function name, as in:

char *func(FILE *stdin, FILE *stdout, char *prompt)

----------

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


More information about the Python-bugs-list mailing list