Show More
@@ -120,12 +120,13 b' class namespace(object):' | |||||
120 |
|
120 | |||
121 | """ |
|
121 | """ | |
122 |
|
122 | |||
123 |
def __init__(self, name, templatename, listnames, namemap, |
|
123 | def __init__(self, name, templatename=None, listnames=None, namemap=None, | |
|
124 | nodemap=None): | |||
124 | """create a namespace |
|
125 | """create a namespace | |
125 |
|
126 | |||
126 | name: the namespace to be registered (in plural form) |
|
127 | name: the namespace to be registered (in plural form) | |
|
128 | templatename: the name to use for templating | |||
127 | listnames: function to list all names |
|
129 | listnames: function to list all names | |
128 | templatename: the name to use for templating |
|
|||
129 | namemap: function that inputs a node, output name(s) |
|
130 | namemap: function that inputs a node, output name(s) | |
130 | nodemap: function that inputs a name, output node(s) |
|
131 | nodemap: function that inputs a name, output node(s) | |
131 |
|
132 |
General Comments 0
You need to be logged in to leave comments.
Login now