We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent ea10a43 commit 57ab706Copy full SHA for 57ab706
mypy/options.py
@@ -435,7 +435,7 @@ def use_lowercase_names(self) -> bool:
435
def use_or_syntax(self) -> bool:
436
if self.python_version >= (3, 10):
437
return not self.force_union_syntax
438
- return False or self.overwrite_union_syntax
+ return self.overwrite_union_syntax
439
440
def use_star_unpack(self) -> bool:
441
return self.python_version >= (3, 11)
0 commit comments