summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2016-09-05 17:53:15 -0700
committerVictor Stinner <victor.stinner@gmail.com>2016-09-05 17:53:15 -0700
commitad8c83ad6b91bebbc124c0c36e67b9836ca3d90f (patch)
tree18c2f0bdd40db2aa568b9e4a5f87d2f88ff70059 /Objects/genobject.c
parentIssue #27960: Merge with 3.5 (diff)
downloadcpython-ad8c83ad6b91bebbc124c0c36e67b9836ca3d90f.tar.gz
cpython-ad8c83ad6b91bebbc124c0c36e67b9836ca3d90f.tar.bz2
cpython-ad8c83ad6b91bebbc124c0c36e67b9836ca3d90f.zip
Avoid inefficient way to call functions without argument
Don't pass "()" format to PyObject_CallXXX() to call a function without argument: pass NULL as the format string instead. It avoids to have to parse a string to produce 0 argument.
Diffstat (limited to 'Objects/genobject.c')
0 files changed, 0 insertions, 0 deletions