diff options
author | Pablo Galindo <Pablogsal@gmail.com> | 2019-07-01 11:35:05 +0100 |
---|---|---|
committer | Petr Viktorin <pviktori@redhat.com> | 2019-07-01 12:35:05 +0200 |
commit | 4a2edc34a405150d0b23ecfdcb401e7cf59f4650 (patch) | |
tree | d4d88459768f103b76ce92536ba047b305ae0d24 /Python/marshal.c | |
parent | fc1fbe6099e826e8304eadf781af7c10d739fc40 (diff) | |
download | cpython-git-4a2edc34a405150d0b23ecfdcb401e7cf59f4650.tar.gz |
bpo-37221: Add PyCode_NewWithPosOnlyArgs to be used internally and set PyCode_New as a compatibility wrapper (GH-13959)
Add PyCode_NewEx to be used internally and set PyCode_New as a compatibility wrapper
Diffstat (limited to 'Python/marshal.c')
-rw-r--r-- | Python/marshal.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Python/marshal.c b/Python/marshal.c index caaddfe9e4..b2daff2c8a 100644 --- a/Python/marshal.c +++ b/Python/marshal.c @@ -1396,7 +1396,7 @@ r_object(RFILE *p) if (lnotab == NULL) goto code_error; - v = (PyObject *) PyCode_New( + v = (PyObject *) PyCode_NewWithPosOnlyArgs( argcount, posonlyargcount, kwonlyargcount, nlocals, stacksize, flags, code, consts, names, varnames, |