summaryrefslogtreecommitdiffstats
path: root/Doc/c-api/code.rst
diff options
context:
space:
mode:
authorSteve Dower <steve.dower@python.org>2019-06-27 17:47:59 (GMT)
committerGitHub <noreply@github.com>2019-06-27 17:47:59 (GMT)
commit44f91c388a6f4da9ed3300df32ca290b8aa104ea (patch)
tree6e02d501dbcb28708fa662a33da2715a505389e5 /Doc/c-api/code.rst
parent21cfae107e410bf4b0ab3c142ca4449bc33290f5 (diff)
downloadcpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.zip
cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.tar.gz
cpython-44f91c388a6f4da9ed3300df32ca290b8aa104ea.tar.bz2
bpo-37390: Add audit event table to documentations (GH-14406)
Also updates some (unreleased) event names to be consistent with the others.
Diffstat (limited to 'Doc/c-api/code.rst')
-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 4842810..7353df5 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 posonlyargcount kwonlyargcount nlocals stacksize flags"
+ .. audit-event:: code.__new__ code,filename,name,argcount,posonlyargcount,kwonlyargcount,nlocals,stacksize,flags c.PyCode_New
.. c:function:: PyCodeObject* PyCode_NewEmpty(const char *filename, const char *funcname, int firstlineno)