Remove pytype workaround in os/__init__.pyi. (#2797)

Pytype release 2019.02.13 fixed the bug that
necessitated this workaround.
This commit is contained in:
Rebecca Chen
2019-02-14 12:29:19 -08:00
committed by Jelle Zijlstra
parent 0989d9507e
commit d275e73e1f
3 changed files with 1 additions and 7 deletions

View File

@@ -3,4 +3,4 @@ typed-ast>=1.0.4
flake8==3.6.0
flake8-bugbear==18.8.0
flake8-pyi==18.3.1
pytype>=2018.9.19
pytype>=2019.2.13

View File

@@ -11,9 +11,6 @@ from typing import (
)
from . import path as path
# Workaround a pytype crash (see #2683)
from builtins import bytes
_T = TypeVar('_T')
# ----- os variables -----

View File

@@ -12,9 +12,6 @@ from typing import (
from builtins import OSError as error
from . import path as path
# Workaround a pytype crash (see #2683)
from builtins import bytes
_T = TypeVar('_T')
# ----- os variables -----