Fix up old code and docstring indent issue.

This commit is contained in:
Mike Auty
2019-09-17 18:15:05 +01:00
parent 7efe19224e
commit a248bdc804
2 changed files with 1 additions and 7 deletions
+1 -1
View File
@@ -154,7 +154,7 @@ class ObjectInterface(metaclass = ABCMeta):
current object inhabits.
.. note:: If new type name does not include a symbol table, the
symbol table for the current object is used
symbol table for the current object is used
"""
# TODO: Carefully consider the implications of casting and how it should work
if constants.BANG not in new_type_name:
@@ -29,9 +29,3 @@ class MultiRegexp(object):
raise ValueError("MultiRegexp cannot be used with an empty set of search strings")
for match in re.finditer(self._regex, haystack):
yield (match.start(0), match.group())
if __name__ == '__main__':
import multistring_testrig
multistring_testrig.tester(MultiRegexp())