mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 04:04:25 +08:00
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:
committed by
Jelle Zijlstra
parent
0989d9507e
commit
d275e73e1f
@@ -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
|
||||
|
||||
@@ -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 -----
|
||||
|
||||
@@ -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 -----
|
||||
|
||||
Reference in New Issue
Block a user