diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-06-01 20:18:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-06-01 20:18:48 (GMT) |
commit | 3b57f50efc16c65df96914ec53bc8d3dc28e18b6 (patch) | |
tree | 7aefb8b9546b90571934cc331a9881c19274731e /Objects/codeobject.c | |
parent | 938d9a0167f7fa4ed109484d269902021d274c64 (diff) | |
download | cpython-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 'Objects/codeobject.c')
-rw-r--r-- | Objects/codeobject.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Objects/codeobject.c b/Objects/codeobject.c index bf68e54..2333075 100644 --- a/Objects/codeobject.c +++ b/Objects/codeobject.c @@ -390,9 +390,9 @@ code_new(PyTypeObject *type, PyObject *args, PyObject *kw) &PyTuple_Type, &cellvars)) return NULL; - if (PySys_Audit("code.__new__", "OOOiiiii", - code, filename, name, argcount, kwonlyargcount, - nlocals, stacksize, flags) < 0) { + if (PySys_Audit("code.__new__", "OOOiiiiii", + code, filename, name, argcount, posonlyargcount, + kwonlyargcount, nlocals, stacksize, flags) < 0) { goto cleanup; } |