mirror of
https://github.com/FlipsideCrypto/web3.py.git
synced 2026-02-06 10:56:47 +00:00
py34 support
This commit is contained in:
parent
782bd7329a
commit
012dd24156
@ -5,4 +5,8 @@ from urllib.parse import ( # noqa: F401
|
||||
urlunparse,
|
||||
)
|
||||
|
||||
Generator = collections.Generator
|
||||
try:
|
||||
Generator = collections.Generator
|
||||
except AttributeError:
|
||||
# py34
|
||||
Generator = type(_ for _ in tuple())
|
||||
|
||||
Loading…
Reference in New Issue
Block a user