summaryrefslogtreecommitdiff
path: root/Python/pythonrun.c
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
commitb10682a8d65eacac79b39a62ff45a15e0ac95f05 (patch)
tree043a074b65bfe0587a7843469a9f280963ec8f0f /Python/pythonrun.c
parentd08cbb8120aa7924107361ab12345b5e70628d6b (diff)
downloadcpython-b10682a8d65eacac79b39a62ff45a15e0ac95f05.tar.gz
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 'Python/pythonrun.c')
0 files changed, 0 insertions, 0 deletions