summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--django/template/base.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/django/template/base.py b/django/template/base.py
index 00f8283507..a1ab437eca 100644
--- a/django/template/base.py
+++ b/django/template/base.py
@@ -978,9 +978,6 @@ class Node:
)
raise
- def __iter__(self):
- yield self
-
def get_nodes_by_type(self, nodetype):
"""
Return a list of all nodes (within this node and its nodelist)