recursion in Class-methods?
defn noob
circularfunc at yahoo.se
Thu Jun 26 16:56:58 EDT 2008
class Graph(object):
where does anyone write like that? I've seen only examples like i have
written.
is the object then passed to init?
class Graph(object):
def __init__(self, dictionary):
self.structure = dictionary
or
class Graph(object):
def __init__(self, object):
self.structure = object
i dont get it.
and "mutable containers", do you refer to "path=[]" as a parameter.
More information about the Python-list
mailing list