mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-02-07 10:20:58 +08:00
Convert itertools functions to classes (#5211)
This commit is contained in:
@@ -28,7 +28,6 @@ importlib.metadata # Added in 3.8
|
||||
importlib.resources # Added in 3.7
|
||||
io.StringIO.readline
|
||||
ipaddress._BaseNetwork.__init__
|
||||
itertools.accumulate
|
||||
json.loads
|
||||
mmap.ACCESS_DEFAULT
|
||||
multiprocessing.shared_memory
|
||||
|
||||
@@ -38,7 +38,6 @@ http.client.HTTPSConnection.__init__
|
||||
http.server.SimpleHTTPRequestHandler.__init__
|
||||
importlib.metadata # Added in 3.8
|
||||
ipaddress._BaseNetwork.__init__
|
||||
itertools.accumulate
|
||||
json.loads
|
||||
macurl2path # removed in 3.7
|
||||
multiprocessing.shared_memory
|
||||
|
||||
@@ -199,22 +199,8 @@ ipaddress._BaseAddress.is_unspecified
|
||||
ipaddress._BaseAddress.max_prefixlen
|
||||
ipaddress._BaseAddress.packed
|
||||
ipaddress._BaseNetwork.max_prefixlen
|
||||
itertools.accumulate # not a function at runtime
|
||||
itertools.chain.from_iterable
|
||||
itertools.combinations # not a function at runtime
|
||||
itertools.combinations_with_replacement
|
||||
itertools.compress
|
||||
itertools.count
|
||||
itertools.dropwhile
|
||||
itertools.filterfalse
|
||||
itertools.groupby # not a function at runtime
|
||||
itertools.islice # not a function at runtime
|
||||
itertools.permutations
|
||||
itertools.product # not a function at runtime
|
||||
itertools.repeat # not a function at runtime
|
||||
itertools.starmap
|
||||
itertools.takewhile
|
||||
itertools.zip_longest
|
||||
itertools.combinations # not a function at runtime, cannot represent with __init__ or __new__
|
||||
itertools.product # not a function at runtime, cannot represent with __init__ or __new__
|
||||
lib2to3.pygram.pattern_symbols
|
||||
lib2to3.pygram.python_symbols
|
||||
lib2to3.pytree.Base.__new__
|
||||
|
||||
Reference in New Issue
Block a user