mirror of https://github.com/django/django.git
Removed unused Node.__iter__().
This commit is contained in:
parent
236e6cb588
commit
1d071ec1aa
|
@ -978,9 +978,6 @@ class Node:
|
||||||
)
|
)
|
||||||
raise
|
raise
|
||||||
|
|
||||||
def __iter__(self):
|
|
||||||
yield self
|
|
||||||
|
|
||||||
def get_nodes_by_type(self, nodetype):
|
def get_nodes_by_type(self, nodetype):
|
||||||
"""
|
"""
|
||||||
Return a list of all nodes (within this node and its nodelist)
|
Return a list of all nodes (within this node and its nodelist)
|
||||||
|
|
Loading…
Reference in New Issue