mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-08 04:54:47 +08:00
Replace 'Text' with 'str' in py3 stdlib (#5466)
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import sys
|
||||
from typing import Any, List, Optional, Sequence, Text, Tuple
|
||||
from typing import Any, List, Optional, Sequence, Tuple
|
||||
|
||||
def symtable(code: Text, filename: Text, compile_type: Text) -> SymbolTable: ...
|
||||
def symtable(code: str, filename: str, compile_type: str) -> SymbolTable: ...
|
||||
|
||||
class SymbolTable(object):
|
||||
def __init__(self, raw_table: Any, filename: str) -> None: ...
|
||||
|
||||
Reference in New Issue
Block a user