mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-01-09 21:12:25 +08:00
Fixing flake8 E231 errors
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
# Stubs for tempfile
|
||||
# Ron Murawski <ron@horizonchess.com>
|
||||
|
||||
# based on http://docs.python.org/3.3/library/tempfile.html
|
||||
# based on http: //docs.python.org/3.3/library/tempfile.html
|
||||
# Adapted for Python 2.7 by Michal Pokorny
|
||||
|
||||
# TODO: Don't use basestring. Use Union[str, bytes] or AnyStr for arguments.
|
||||
@@ -34,7 +34,7 @@ class _TemporaryFileWrapper(IO[str]):
|
||||
delete = ... # type: bool
|
||||
file = ... # type: IO
|
||||
name = ... # type: Any
|
||||
def __init__(self, file: IO, name, delete:bool = ...) -> None: ...
|
||||
def __init__(self, file: IO, name, delete: bool = ...) -> None: ...
|
||||
def __del__(self) -> None: ...
|
||||
def __enter__(self) -> "_TemporaryFileWrapper": ...
|
||||
def __exit__(self, exc, value, tb) -> bool: ...
|
||||
|
||||
Reference in New Issue
Block a user