mirror of
https://github.com/davidhalter/typeshed.git
synced 2025-12-06 12:14:27 +08:00
Fix type of typed_ast.ast27.Str.s (#4703)
The original type was too narrow.
This commit is contained in:
2
third_party/3/typed_ast/ast27.pyi
vendored
2
third_party/3/typed_ast/ast27.pyi
vendored
@@ -239,7 +239,7 @@ class Num(expr):
|
||||
n: Union[int, float, complex]
|
||||
|
||||
class Str(expr):
|
||||
s: bytes
|
||||
s: Union[str, bytes]
|
||||
kind: str
|
||||
|
||||
class Attribute(expr):
|
||||
|
||||
Reference in New Issue
Block a user