Skip to content

Commit

Permalink
Use the correct type
Browse files Browse the repository at this point in the history
  • Loading branch information
tomasr8 committed Apr 10, 2023
1 parent 056673a commit 88059e8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions pyi.py
Original file line number Diff line number Diff line change
Expand Up @@ -640,7 +640,7 @@ class UnionAnalysis(NamedTuple):
combined_literal_members: list[_LiteralMember]
multiple_builtins_types_in_union: bool
non_builtins_types_in_union: bool
combined_builtins_types: list[ast.expr]
combined_builtins_types: list[ast.slice]


def _analyse_union(members: Sequence[ast.expr]) -> UnionAnalysis:
Expand Down Expand Up @@ -677,7 +677,7 @@ def _analyse_union(members: Sequence[ast.expr]) -> UnionAnalysis:
literals_in_union = []
combined_literal_members: list[_LiteralMember] = []
non_builtins_types_in_union = False
builtins_types_in_union = []
builtins_types_in_union: list[ast.slice] = []

for member in members:
members_by_dump[ast.dump(member)].append(member)
Expand Down

0 comments on commit 88059e8

Please sign in to comment.