summaryrefslogtreecommitdiffstats
path: root/Objects/weakrefobject.c
diff options
context:
space:
mode:
authorINADA Naoki <methane@users.noreply.github.com>2017-02-16 00:26:01 (GMT)
committerGitHub <noreply@github.com>2017-02-16 00:26:01 (GMT)
commit72dccde884d89586b0cafd990675b7e21720a81f (patch)
treeb0a57ee76f067c30869089792f385d950dcf22d5 /Objects/weakrefobject.c
parent72e81d00eee685cfe33aaddf2aa9feef2d07591f (diff)
downloadcpython-72dccde884d89586b0cafd990675b7e21720a81f.zip
cpython-72dccde884d89586b0cafd990675b7e21720a81f.tar.gz
cpython-72dccde884d89586b0cafd990675b7e21720a81f.tar.bz2
bpo-29548: Fix some inefficient call API usage (GH-97)
Diffstat (limited to 'Objects/weakrefobject.c')
-rw-r--r--Objects/weakrefobject.c2
1 files changed, 1 insertions, 1 deletions
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 @@ proxy_checkref(PyWeakReference *proxy)
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)