Skip to content

Commit 99a47d4

Browse files
committed
change to get_modules_copy
1 parent 9ab0e54 commit 99a47d4

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

compiler_opt/rl/corpus.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -122,8 +122,7 @@ def filter(self, p: re.Pattern):
122122
"""Filters module specs, keeping those which match the provided pattern."""
123123
self._module_specs = [ms for ms in self._module_specs if p.match(ms.name)]
124124

125-
@property
126-
def modules(self):
125+
def get_modules_copy(self):
127126
return list(self._module_specs)
128127

129128
def __len__(self):

0 commit comments

Comments
 (0)