Skip to content

Commit 5b70ff5

Browse files
committed
Merge branch 'refine-enum-branch-analysis' of github.com:Michael0x2a/mypy into refine-enum-branch-analysis
2 parents d1d99a7 + 0c084dc commit 5b70ff5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

mypy/checker.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4526,7 +4526,7 @@ def is_singleton_type(typ: Type) -> bool:
45264526

45274527

45284528
def try_expanding_enum_to_union(typ: Type, target_fullname: str) -> Type:
4529-
"""Attempts to recursively any enum Instances with the given target_fullname
4529+
"""Attempts to recursively expand any enum Instances with the given target_fullname
45304530
into a Union of all of its component LiteralTypes.
45314531
45324532
For example, if we have:

0 commit comments

Comments
 (0)