summaryrefslogtreecommitdiffstats
path: root/Python/clinic/bltinmodule.c.h
diff options
context:
space:
mode:
authorSerhiy Storchaka <storchaka@gmail.com>2017-05-28 12:31:49 (GMT)
committerGitHub <noreply@github.com>2017-05-28 12:31:49 (GMT)
commitac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1 (patch)
tree7f75690d054fb8619b9ac33ad7dcae989617c4fd /Python/clinic/bltinmodule.c.h
parent4a8bcdf79cdb3684743fe1268de62ee88bada439 (diff)
downloadcpython-ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1.zip
cpython-ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1.tar.gz
cpython-ac5bbd43bc7b769c13ae0412cb28a3521f4d4ff1.tar.bz2
bpo-30248: Convert boolean arguments only once in _json. (#1423)
Rather than saving the Python object and calling PyObject_IsTrue() every time when the boolean argument is used, call it only once and save C boolean value.
Diffstat (limited to 'Python/clinic/bltinmodule.c.h')
0 files changed, 0 insertions, 0 deletions