summaryrefslogtreecommitdiffstats
path: root/Doc/c-api
diff options
context:
space:
mode:
authorPablo Galindo <Pablogsal@gmail.com>2019-06-01 20:18:48 (GMT)
committerGitHub <noreply@github.com>2019-06-01 20:18:48 (GMT)
commit3b57f50efc16c65df96914ec53bc8d3dc28e18b6 (patch)
tree7aefb8b9546b90571934cc331a9881c19274731e /Doc/c-api
parent938d9a0167f7fa4ed109484d269902021d274c64 (diff)
downloadcpython-3b57f50efc16c65df96914ec53bc8d3dc28e18b6.zip
cpython-3b57f50efc16c65df96914ec53bc8d3dc28e18b6.tar.gz
cpython-3b57f50efc16c65df96914ec53bc8d3dc28e18b6.tar.bz2
bpo-36842: Pass positional only parameters to code_new audit hook (GH-13707)
Diffstat (limited to 'Doc/c-api')
-rw-r--r--Doc/c-api/code.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/c-api/code.rst b/Doc/c-api/code.rst
index 92baa4c..4842810 100644
--- a/Doc/c-api/code.rst
+++ b/Doc/c-api/code.rst
@@ -45,7 +45,7 @@ bound into a function.
The first parameter (*argcount*) now represents the total number of positional arguments,
including positional-only.
- .. audit-event:: code.__new__ "code filename name argcount kwonlyargcount nlocals stacksize flags"
+ .. audit-event:: code.__new__ "code filename name argcount posonlyargcount kwonlyargcount nlocals stacksize flags"
.. c:function:: PyCodeObject* PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)