Ask Your Question

Revision history [back]

Since you are asking for modification of existing Sage code the general answer is to open a ticket for your enhancement idea. However, in this case you might want to improve the code you use by taking advantage of the fact that graphs() returns a Python iterator/generator.

https://docs.python.org/2/howto/functional.html

But, in order to help you with that we must know what your surrounding code is. In summary, please always give code examples.