diff --git a/pep-0613.rst b/pep-0613.rst index f11c56259..e84f0533c 100644 --- a/pep-0613.rst +++ b/pep-0613.rst @@ -58,7 +58,7 @@ cannot be used as a return annotation because it is not a valid type. :: - MyType: TypeAlias = “ClassName” + MyType: TypeAlias = "ClassName" def foo() -> MyType: ... Explicit aliases remove ambiguity so neither of the above errors will be @@ -153,7 +153,7 @@ Explicit syntax: x: Type[int] = int # typed global expression x: TypeAlias = int # type alias - x: TypeAlias = “MyClass” # type alias + x: TypeAlias = "MyClass" # type alias Note: The examples above illustrate implicit and explicit alias declarations in