diff options
author | Jeroen Demeyer <J.Demeyer@UGent.be> | 2019-05-29 20:31:52 +0200 |
---|---|---|
committer | Petr Viktorin <encukou@gmail.com> | 2019-05-29 20:31:52 +0200 |
commit | aacc77fbd77640a8f03638216fa09372cc21673d (patch) | |
tree | fd64be1c4c1167a8bf708d1fd22c733cf3a9a30f /Include/funcobject.h | |
parent | bpo-36983: Fix typing.__all__ and add test for exported names (GH-13456) (diff) | |
download | cpython-aacc77fbd77640a8f03638216fa09372cc21673d.tar.gz cpython-aacc77fbd77640a8f03638216fa09372cc21673d.tar.bz2 cpython-aacc77fbd77640a8f03638216fa09372cc21673d.zip |
bpo-36974: implement PEP 590 (GH-13185)
Co-authored-by: Jeroen Demeyer <J.Demeyer@UGent.be>
Co-authored-by: Mark Shannon <mark@hotpy.org>
Diffstat (limited to 'Include/funcobject.h')
-rw-r--r-- | Include/funcobject.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Include/funcobject.h b/Include/funcobject.h index 86674ac90a0..7ba000e1f13 100644 --- a/Include/funcobject.h +++ b/Include/funcobject.h @@ -32,6 +32,7 @@ typedef struct { PyObject *func_module; /* The __module__ attribute, can be anything */ PyObject *func_annotations; /* Annotations, a dict or NULL */ PyObject *func_qualname; /* The qualified name */ + vectorcallfunc vectorcall; /* Invariant: * func_closure contains the bindings for func_code->co_freevars, so @@ -68,7 +69,7 @@ PyAPI_FUNC(PyObject *) _PyFunction_FastCallDict( PyAPI_FUNC(PyObject *) _PyFunction_FastCallKeywords( PyObject *func, PyObject *const *stack, - Py_ssize_t nargs, + size_t nargsf, PyObject *kwnames); #endif |