summaryrefslogtreecommitdiff
path: root/Lib/test/pythoninfo.py
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-26 13:37:13 +0100
committerGitHub <noreply@github.com>2018-11-26 13:37:13 +0100
commitdf108dc6610e41c54ed064a854e3903c143f0d77 (patch)
treeba33524ff177a6533290f79be66523b02a6dcd3b /Lib/test/pythoninfo.py
parentc2e1607a51d7a17f143b5a34e8cff7c6fc58a091 (diff)
downloadcpython-git-df108dc6610e41c54ed064a854e3903c143f0d77.tar.gz
Add assertion to _PyTuple_CAST(op) (GH-10712)
Add "assert(PyTuple_Check(op));" to _PyTuple_CAST() to check that the argument is a tuple object in debug mode. PyTuple_GET_SIZE() now uses _PyTuple_CAST() to get its assertion.
Diffstat (limited to 'Lib/test/pythoninfo.py')
0 files changed, 0 insertions, 0 deletions