mirror of
https://github.com/python/cpython.git
synced 2025-08-04 08:59:19 +00:00
bpo-29548: Fix some inefficient call API usage (GH-97)
This commit is contained in:
parent
72e81d00ee
commit
72dccde884
7 changed files with 23 additions and 40 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue