Skip to content

Commit 6314fb7

Browse files
committed
Drop calls to Taggable constructor
1 parent d2788a2 commit 6314fb7

File tree

2 files changed

+1
-3
lines changed

2 files changed

+1
-3
lines changed

loopy/kernel/instruction.py

-2
Original file line numberDiff line numberDiff line change
@@ -307,8 +307,6 @@ def __init__(self, id, depends_on, depends_on_is_final,
307307
# The Taggable constructor call does extra validation.
308308
tags=tags)
309309

310-
Taggable.__init__(self, tags)
311-
312310
# {{{ abstract interface
313311

314312
def read_dependency_names(self):

loopy/symbolic.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -701,7 +701,7 @@ def __init__(self, name, tags):
701701
assert isinstance(tags, frozenset)
702702
assert tags
703703

704-
Taggable.__init__(self, tags)
704+
self.tags = tags
705705

706706
def __getinitargs__(self):
707707
return self.name, self.tags

0 commit comments

Comments
 (0)