summaryrefslogtreecommitdiffstats
path: root/Mac
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-07-10 17:37:30 (GMT)
committerGuido van Rossum <guido@python.org>1998-07-10 17:37:30 (GMT)
commitfa4ac71dd6602347d80e4cdb71f3867fb63d3578 (patch)
tree3e2d2bd1f36093765fa1f81576c13b64e368211d /Mac
parentbfc725bf64c1da301fe29b9722efc56e34799cf4 (diff)
downloadcpython-fa4ac71dd6602347d80e4cdb71f3867fb63d3578.zip
cpython-fa4ac71dd6602347d80e4cdb71f3867fb63d3578.tar.gz
cpython-fa4ac71dd6602347d80e4cdb71f3867fb63d3578.tar.bz2
Small changes to map() and filter():
(1) If a sequence S is shorter than len(S) indicated, don't fail -- just use the shorter size. (I.e, len(S) is just a hint.) (2) Implement the special case map(None, S) as list(S) -- it's faster.
Diffstat (limited to 'Mac')
0 files changed, 0 insertions, 0 deletions