mirror of
https://github.com/Mayuri-Chan/pyrofork.git
synced 2026-01-06 15:14:52 +00:00
Monkey patch "typing" only for Python 3.5.0, 3.5.1 and 3.5.2
This commit is contained in:
parent
a23ca95173
commit
c05e008656
1 changed files with 4 additions and 3 deletions
|
|
@ -18,6 +18,7 @@
|
||||||
|
|
||||||
import sys
|
import sys
|
||||||
|
|
||||||
|
if sys.version_info[:3] in [(3, 5, 0), (3, 5, 1), (3, 5, 2)]:
|
||||||
from .vendor import typing
|
from .vendor import typing
|
||||||
|
|
||||||
# Monkey patch the standard "typing" module because Python versions from 3.5.0 to 3.5.2 have a broken one.
|
# Monkey patch the standard "typing" module because Python versions from 3.5.0 to 3.5.2 have a broken one.
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue