New submission from Serhiy Storchaka: Proposed patch makes Argument Clinic to output format argument of PyArg_Parse, PyArg_ParseTuple and PyArg_ParseTupleAndKeywords in a line with a function itself. First, this makes generated code more compact and easier to read and compare with old code. Second, it makes easier to grep sources for used format units. Format argument always (or almost always) is written in a line with a function.
---------- components: Argument Clinic, Demos and Tools files: clinic_format_argument.patch keywords: patch messages: 241531 nosy: larry, serhiy.storchaka priority: normal severity: normal stage: patch review status: open title: Write PyArg_Parse* format in a line with a function type: enhancement versions: Python 3.5 Added file: http://bugs.python.org/file39121/clinic_format_argument.patch _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue24007> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com