Document API: don't accept extra args in node_descriptor.
bzr revid: p_christ@hol.gr-20100629140527-sz2sjgrv4cjw18uk
This commit is contained in:
parent
075affaccc
commit
54f9817335
|
@ -82,7 +82,7 @@ class node_descriptor(object):
|
|||
provide the link to the parent /node/ object.
|
||||
"""
|
||||
|
||||
def __init__(self, parent, **kwargs):
|
||||
def __init__(self, parent):
|
||||
assert isinstance(parent, node_class)
|
||||
self.name = parent.displayname
|
||||
self.__parent = parent
|
||||
|
|
Loading…
Reference in New Issue