[docs] [issue12949] Documentation of PyCode_New() lacks kwonlyargcount argument

Stefan Behnel report at bugs.python.org
Fri Sep 9 20:26:29 CEST 2011


New submission from Stefan Behnel <scoder at users.sourceforge.net>:

In Py3, PyCode_New() takes a new argument "kwonlyargcount". The signature change is not currently in the Py3 C-API documentation.

http://docs.python.org/dev/c-api/code.html

PyCodeObject *
PyCode_New(int argcount, int kwonlyargcount,
           int nlocals, int stacksize, int flags,
           PyObject *code, PyObject *consts, PyObject *names,
           PyObject *varnames, PyObject *freevars, PyObject *cellvars,
           PyObject *filename, PyObject *name, int firstlineno,
           PyObject *lnotab)

----------
assignee: docs at python
components: Documentation
messages: 143784
nosy: docs at python, scoder
priority: normal
severity: normal
status: open
title: Documentation of PyCode_New() lacks kwonlyargcount argument
type: behavior
versions: Python 3.1, Python 3.2, Python 3.3

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


More information about the docs mailing list