Added stub for dircache(py2) (#1510)

This commit is contained in:
Ashwini Chaudhary
2018-03-18 10:52:25 +05:30
committed by Jelle Zijlstra
parent cac7264d3a
commit 164aa21fa1

10
stdlib/2/dircache.pyi Normal file
View File

@@ -0,0 +1,10 @@
# Source: https://hg.python.org/cpython/file/2.7/Lib/dircache.py
from typing import List, MutableSequence, Text, Union
def reset() -> None: ...
def listdir(path: Text) -> List[str]: ...
opendir = listdir
def annotate(head: Text, list: Union[MutableSequence[str], MutableSequence[Text], MutableSequence[Union[str, Text]]]) -> None: ...