diff options
author | Victor Stinner <vstinner@redhat.com> | 2018-11-26 13:37:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2018-11-26 13:37:13 +0100 |
commit | df108dc6610e41c54ed064a854e3903c143f0d77 (patch) | |
tree | ba33524ff177a6533290f79be66523b02a6dcd3b /Lib/test/pythoninfo.py | |
parent | c2e1607a51d7a17f143b5a34e8cff7c6fc58a091 (diff) | |
download | cpython-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