diff options
author | Victor Stinner <victor.stinner@gmail.com> | 2016-08-22 22:48:54 +0200 |
---|---|---|
committer | Victor Stinner <victor.stinner@gmail.com> | 2016-08-22 22:48:54 +0200 |
commit | 559bb6a71399af3b1b2a0ba97230d2bcc649e993 (patch) | |
tree | 94927374ac025ae249aa487ce4a17df99c3df2d8 /Modules/_sre.c | |
parent | c98afb7a26ac611a4544c5b8dd445d8ea05e6360 (diff) | |
download | cpython-git-559bb6a71399af3b1b2a0ba97230d2bcc649e993.tar.gz |
Rename _PyObject_FastCall() to _PyObject_FastCallDict()
Issue #27809:
* Rename _PyObject_FastCall() function to _PyObject_FastCallDict()
* Add _PyObject_FastCall(), _PyObject_CallNoArg() and _PyObject_CallArg1()
macros calling _PyObject_FastCallDict()
Diffstat (limited to 'Modules/_sre.c')
-rw-r--r-- | Modules/_sre.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Modules/_sre.c b/Modules/_sre.c index 3e8d7f8b48..0a62f62dc6 100644 --- a/Modules/_sre.c +++ b/Modules/_sre.c @@ -1157,7 +1157,7 @@ pattern_subx(PatternObject* self, PyObject* ptemplate, PyObject* string, match = pattern_new_match(self, &state, 1); if (!match) goto error; - item = _PyObject_FastCall(filter, &match, 1, NULL); + item = _PyObject_CallArg1(filter, match); Py_DECREF(match); if (!item) goto error; |