Skip to content

Commit

Permalink
Reword _TaggedUnion comments
Browse files Browse the repository at this point in the history
  • Loading branch information
tpoliaw committed Feb 4, 2025
1 parent 08e4d1a commit 216f797
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/scanspec/core.py
Original file line number Diff line number Diff line change
Expand Up @@ -182,7 +182,7 @@ def __init__(self, base_class: type[Any], discriminator: str):
self._discriminator = discriminator
# The members of the tagged union, i.e. subclasses of the baseclass
self._subclasses: list[type] = []
# Whether we need to check subclasses for unsupported generic types
# The type parameters expected for the base class of the union
self._generics = _parameters(base_class)

def add_member(self, cls: type):
Expand Down

0 comments on commit 216f797

Please sign in to comment.