mirror of
https://github.com/davidhalter/typeshed.git
synced 2026-10-16 02:51:28 +08:00
Replace 'Text' with 'str' in py3 stdlib (#5466)
This commit is contained in:
1 parent
dbe77b6ae9
commit
6a9c89e928
49 files changed
+328
-349
No files matched your search
@@ -1,10 +1,10 @@
|
||||
from typing import Any, Dict, List, Optional, Text
|
||||
from typing import Any, Dict, List, Optional
|
||||
|
||||
_ModuleGlobals = Dict[str, Any]
|
||||
|
||||
def getline(filename: Text, lineno: int, module_globals: Optional[_ModuleGlobals] = ...) -> str: ...
|
||||
def getline(filename: str, 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]: ...
|
||||
def lazycache(filename: Text, module_globals: _ModuleGlobals) -> bool: ...
|
||||
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: ...
|
||||
Reference in new issue
Block a user