Replace 'Text' with 'str' in py3 stdlib (#5466)

This commit is contained in:
Sebastian Rittau
2021-05-16 16:10:48 +02:00
committed by GitHub
parent dbe77b6ae9
commit 6a9c89e928
49 changed files with 328 additions and 349 deletions

View File

@@ -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: ...