recursion in Class-methods?

defn noob circularfunc at
Thu Jun 26 22:56:58 CEST 2008

class Graph(object):

where does anyone write like that? I've seen only examples like i have

is the object then passed to init?

class Graph(object):
    def __init__(self, dictionary):
        self.structure = dictionary


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