Document API: don't accept extra args in node_descriptor.

bzr revid: p_christ@hol.gr-20100629140527-sz2sjgrv4cjw18uk
This commit is contained in:
P. Christeas 2010-06-29 17:05:27 +03:00
parent 075affaccc
commit 54f9817335
1 changed files with 1 additions and 1 deletions

View File

@ -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