[issue2186] map and filter shouldn't support None as first argument (in Py3k only)
Raymond Hettinger
report at bugs.python.org
Tue Feb 26 02:56:35 CET 2008
Raymond Hettinger added the comment:
What do you guys think about just making the predicate argument optional?
filter([-2,0,2]) --> -2, 2
filter(pred, iterable)
One arg is the first case and two args is the second case.
__________________________________
Tracker <report at bugs.python.org>
<http://bugs.python.org/issue2186>
__________________________________
More information about the Python-bugs-list
mailing list