__init__.pyi: Add __getitem__() to stat_result() (#2753)

Fixes #2751
This commit is contained in:
Utkarsh Gupta
2019-02-09 15:07:10 +00:00
committed by Sebastian Rittau
parent f0c5ac04b0
commit 1a37368cc0

View File

@@ -216,6 +216,8 @@ class stat_result:
st_mtime_ns: int # time of most recent content modification in nanoseconds
st_ctime_ns: int # platform dependent (time of most recent metadata change on Unix, or the time of creation on Windows) in nanoseconds
def __getitem__(self, i: int) -> int: ...
# not documented
def __init__(self, tuple: Tuple[int, ...]) -> None: ...