ResourceWarning doesn't exist in Python 2 (#2020)

Fixes #1971.
This commit is contained in:
Jelle Zijlstra
2018-04-06 11:19:34 -07:00
committed by Guido van Rossum
parent 54ecefef04
commit 4ab720161a

View File

@@ -1027,7 +1027,6 @@ class PendingDeprecationWarning(Warning): ...
class ImportWarning(Warning): ...
class UnicodeWarning(Warning): ...
class BytesWarning(Warning): ...
class ResourceWarning(Warning): ...
def eval(s: Union[str, unicode], globals: Dict[str, Any] = ..., locals: Dict[str, Any] = ...) -> Any: ...
def exec(object: str,