diff options
| author | Tim Graham <timograham@gmail.com> | 2017-10-05 11:37:30 -0400 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2017-10-12 16:46:31 -0400 |
| commit | cf59392e16064d5d0e67d5d70e8047f27ccb858e (patch) | |
| tree | 64fdab2fa12f32143fc37d90196b81b154a75585 | |
| parent | 0edff2107f9cdd89737d2d33d1a40362ecde894c (diff) | |
Removed unused ForNode.__iter__().
Unknown if it was ever used.
| -rw-r--r-- | django/template/defaulttags.py | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/django/template/defaulttags.py b/django/template/defaulttags.py index 797ebce4de..9c7d941126 100644 --- a/django/template/defaulttags.py +++ b/django/template/defaulttags.py @@ -151,10 +151,6 @@ class ForNode(Node): reversed_text, ) - def __iter__(self): - yield from self.nodelist_loop - yield from self.nodelist_empty - def render(self, context): if 'forloop' in context: parentloop = context['forloop'] |
