From 14e387b6fdf4b8808edf2d61a4141fabe67b342b Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Fri, 1 Mar 2019 03:29:23 -0800 Subject: [PATCH] fix some minor lint errors (#2820) Caught by a newer version of flake8 --- stdlib/2/_io.pyi | 2 +- stdlib/3/importlib/machinery.pyi | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/stdlib/2/_io.pyi b/stdlib/2/_io.pyi index dc14839bb..caadf2a21 100644 --- a/stdlib/2/_io.pyi +++ b/stdlib/2/_io.pyi @@ -104,7 +104,7 @@ class FileIO(_RawIOBase, BytesIO): mode = ... # type: str closefd = ... # type: bool def __init__(self, file: Union[str, int], mode: str = ..., closefd: bool = ...) -> None: ... - def readinto(self, buffer: _bytearray_like)-> int: ... + def readinto(self, buffer: _bytearray_like) -> int: ... def write(self, pbuf: str) -> int: ... class IncrementalNewlineDecoder(object): diff --git a/stdlib/3/importlib/machinery.pyi b/stdlib/3/importlib/machinery.pyi index f42dc20a7..a60c30786 100644 --- a/stdlib/3/importlib/machinery.pyi +++ b/stdlib/3/importlib/machinery.pyi @@ -20,7 +20,7 @@ class BuiltinImporter(importlib.abc.MetaPathFinder, def find_spec(cls, fullname: str, path: Optional[Sequence[importlib.abc._Path]], target: Optional[types.ModuleType] = ...) -> Optional[ModuleSpec]: - ... + ... # InspectLoader @classmethod def is_package(cls, fullname: str) -> bool: ...