Refs #7430 -- Removed broken Template.__iter__().

Co-authored-by: Anders Hovmöller <anders.hovmoller@dryft.se>
This commit is contained in:
Anders Hovmöller 2023-02-08 11:17:58 +01:00 committed by GitHub
parent 325c44ac6c
commit 69069a443a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 4 deletions

View File

@ -153,10 +153,6 @@ class Template:
self.source = str(template_string) # May be lazy.
self.nodelist = self.compile_nodelist()
def __iter__(self):
for node in self.nodelist:
yield from node
def __repr__(self):
return '<%s template_string="%s...">' % (
self.__class__.__qualname__,