mirror of
https://github.com/python/cpython.git
synced 2025-08-04 00:48:58 +00:00
Issue 2186 and 2187. Move filter from itertools to builtins.
This commit is contained in:
parent
45832ea408
commit
17301e9fab
5 changed files with 138 additions and 180 deletions
|
@ -8,6 +8,7 @@ import random
|
|||
from functools import reduce
|
||||
maxsize = test_support.MAX_Py_ssize_t
|
||||
minsize = -maxsize-1
|
||||
ifilter = filter
|
||||
|
||||
def lzip(*args):
|
||||
return list(zip(*args))
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue