commit | 72dccde884d89586b0cafd990675b7e21720a81f | [log] [tgz] |
---|---|---|
author | INADA Naoki <methane@users.noreply.github.com> | Thu Feb 16 09:26:01 2017 +0900 |
committer | GitHub <noreply@github.com> | Thu Feb 16 09:26:01 2017 +0900 |
tree | b0a57ee76f067c30869089792f385d950dcf22d5 | |
parent | 72e81d00eee685cfe33aaddf2aa9feef2d07591f [diff] [blame] |
bpo-29548: Fix some inefficient call API usage (GH-97)
diff --git a/Objects/weakrefobject.c b/Objects/weakrefobject.c index ab6b235..d12db91 100644 --- a/Objects/weakrefobject.c +++ b/Objects/weakrefobject.c
@@ -461,7 +461,7 @@ WRAP_BINARY(proxy_getattr, PyObject_GetAttr) WRAP_UNARY(proxy_str, PyObject_Str) -WRAP_TERNARY(proxy_call, PyEval_CallObjectWithKeywords) +WRAP_TERNARY(proxy_call, PyObject_Call) static PyObject * proxy_repr(PyWeakReference *proxy)