mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-07 20:54:28 +08:00
11 lines
533 B
Python
11 lines
533 B
Python
from typing import Any, Dict, List, Optional
|
|
|
|
_ModuleGlobals = Dict[str, Any]
|
|
|
|
def getline(filename: str, lineno: int, module_globals: Optional[_ModuleGlobals] = ...) -> str: ...
|
|
def clearcache() -> None: ...
|
|
def getlines(filename: str, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
|
|
def checkcache(filename: Optional[str] = ...) -> None: ...
|
|
def updatecache(filename: str, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
|
|
def lazycache(filename: str, module_globals: _ModuleGlobals) -> bool: ...
|