Comment 2 for bug 1039493

Revision history for this message
Pablo Haya (pablo-haya) wrote :

I am sorry for the typo. ig is actually igraph- The corrected code snippet is:

# A new class graph that extends Graph
class MyGraph (igraph.Graph):
    def __init__(self, directed=True):
        igraph.Graph.__init__(self, directed=directed)

# Module B
g = MyGraph()
print g

I am going to run valgrind as well.

Thank very much