summaryrefslogtreecommitdiffstats
path: root/Lib/test/test_struct.py
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-10 18:03:50 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-10 18:03:50 (GMT)
commit5dba9e8aef544c0f10bda0ecbd965ac08d019f27 (patch)
tree3c8346d86b20b5e7b4cc62c965df9741635d7377 /Lib/test/test_struct.py
parentfa4ac71dd6602347d80e4cdb71f3867fb63d3578 (diff)
downloadcpython-5dba9e8aef544c0f10bda0ecbd965ac08d019f27.zip
cpython-5dba9e8aef544c0f10bda0ecbd965ac08d019f27.tar.gz
cpython-5dba9e8aef544c0f10bda0ecbd965ac08d019f27.tar.bz2
Add special case to PySequence_List() so that list() of a list is
faster (using PyList_GetSlice()). Also added a test for a NULL argument, as with PySequence_Tuple(). (Hmm... Better names for these two would be PyList_FromSequence() and PyTuple_FromSequence(). Oh well.)
Diffstat (limited to 'Lib/test/test_struct.py')
0 files changed, 0 insertions, 0 deletions