~dricottone/filters

5c3cae6369ce5153c5e6470a9a4e4c092cec8ee1 — Dominic Ricottone 4 years ago fdbb64f
Added type hint
1 files changed, 1 insertions(+), 1 deletions(-)

M filter/internals.py
M filter/internals.py => filter/internals.py +1 -1
@@ 46,7 46,7 @@ def _read_stdin() -> Iterator[float]:
    except KeyboardInterrupt:
        sys.stdout.write("\n")

def _read_file(filename) -> Iterator[float]:
def _read_file(filename: str) -> Iterator[float]:
    try:
        with open(filename, 'r') as f:
            for line in f.readlines():