add fileinput.filelineno and fileinput.fileno (#1338)

This commit is contained in:
Jelle Zijlstra
2017-05-26 09:30:42 -07:00
committed by Guido van Rossum
parent d23fe74072
commit 296f294b75

View File

@@ -22,6 +22,8 @@ def close() -> None: ...
def nextfile() -> None: ...
def filename() -> str: ...
def lineno() -> int: ...
def filelineno() -> int: ...
def fileno() -> int: ...
def isfirstline() -> bool: ...
def isstdin() -> bool: ...