Skip to content

Commit 57ab706

Browse files
committed
Fix typing
1 parent ea10a43 commit 57ab706

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/options.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -435,7 +435,7 @@ def use_lowercase_names(self) -> bool:
435435
def use_or_syntax(self) -> bool:
436436
if self.python_version >= (3, 10):
437437
return not self.force_union_syntax
438-
return False or self.overwrite_union_syntax
438+
return self.overwrite_union_syntax
439439

440440
def use_star_unpack(self) -> bool:
441441
return self.python_version >= (3, 11)

0 commit comments

Comments
 (0)