Removed obsolete docstring from WhereNode.clone().
Node.subtree_parents was removed ind3f00bd570
. That commit also added Q.clone() which was identical to WhereNode.clone(), but lacked the docstring. Q.clone() was later removed inb454e2cbc9
.
This commit is contained in:
parent
769d7cce4a
commit
4f8bc75bc3
|
@ -171,11 +171,6 @@ class WhereNode(tree.Node):
|
||||||
self.children[pos] = child.relabeled_clone(change_map)
|
self.children[pos] = child.relabeled_clone(change_map)
|
||||||
|
|
||||||
def clone(self):
|
def clone(self):
|
||||||
"""
|
|
||||||
Create a clone of the tree. Must only be called on root nodes (nodes
|
|
||||||
with empty subtree_parents). Childs must be either (Constraint, lookup,
|
|
||||||
value) tuples, or objects supporting .clone().
|
|
||||||
"""
|
|
||||||
clone = self.__class__._new_instance(
|
clone = self.__class__._new_instance(
|
||||||
children=None,
|
children=None,
|
||||||
connector=self.connector,
|
connector=self.connector,
|
||||||
|
|
Loading…
Reference in New Issue