summaryrefslogtreecommitdiffstats
path: root/Python
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@redhat.com>2018-11-26 12:37:13 (GMT)
committerGitHub <noreply@github.com>2018-11-26 12:37:13 (GMT)
commitdf108dc6610e41c54ed064a854e3903c143f0d77 (patch)
treeba33524ff177a6533290f79be66523b02a6dcd3b /Python
parentc2e1607a51d7a17f143b5a34e8cff7c6fc58a091 (diff)
downloadcpython-df108dc6610e41c54ed064a854e3903c143f0d77.zip
cpython-df108dc6610e41c54ed064a854e3903c143f0d77.tar.gz
cpython-df108dc6610e41c54ed064a854e3903c143f0d77.tar.bz2
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 'Python')
0 files changed, 0 insertions, 0 deletions