mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 21:14:48 +08:00
11 lines
480 B
Python
11 lines
480 B
Python
import sys
|
|
from typing import Any, Dict, List, Optional, Text
|
|
|
|
_ModuleGlobals = Dict[str, Any]
|
|
|
|
def getline(filename: Text, lineno: int, module_globals: Optional[_ModuleGlobals] = ...) -> str: ...
|
|
def clearcache() -> None: ...
|
|
def getlines(filename: Text, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
|
|
def checkcache(filename: Optional[Text] = ...) -> None: ...
|
|
def updatecache(filename: Text, module_globals: Optional[_ModuleGlobals] = ...) -> List[str]: ...
|