mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 04:34:28 +08:00
Added stub for dircache(py2) (#1510)
This commit is contained in:
committed by
Jelle Zijlstra
parent
cac7264d3a
commit
164aa21fa1
10
stdlib/2/dircache.pyi
Normal file
10
stdlib/2/dircache.pyi
Normal 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: ...
|
||||
Reference in New Issue
Block a user