We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 441c530 commit 674a474Copy full SHA for 674a474
1 file changed
extra_tests/snippets/stdlib_typing.py
@@ -18,7 +18,7 @@ def abort_signal_handler(
18
# This tests that annotation scopes can access global implicit symbols (like Union)
19
# that are imported at module level but not explicitly bound in the function scope.
20
# Regression test for: https://github.com/RustPython/RustPython/issues/6718
21
-from typing import Union, Optional
+from typing import Optional, Union
22
23
24
def function_with_union_param(x: Optional[Union[int, str]] = None) -> None:
0 commit comments