Skip to content

Commit

Permalink
Drop calls to Taggable constructor
Browse files Browse the repository at this point in the history
  • Loading branch information
inducer committed Jul 16, 2024
1 parent d2788a2 commit 6314fb7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions loopy/kernel/instruction.py
Original file line number Diff line number Diff line change
Expand Up @@ -307,8 +307,6 @@ def __init__(self, id, depends_on, depends_on_is_final,
# The Taggable constructor call does extra validation.
tags=tags)

Taggable.__init__(self, tags)

# {{{ abstract interface

def read_dependency_names(self):
Expand Down
2 changes: 1 addition & 1 deletion loopy/symbolic.py
Original file line number Diff line number Diff line change
Expand Up @@ -701,7 +701,7 @@ def __init__(self, name, tags):
assert isinstance(tags, frozenset)
assert tags

Taggable.__init__(self, tags)
self.tags = tags

def __getinitargs__(self):
return self.name, self.tags
Expand Down

0 comments on commit 6314fb7

Please sign in to comment.