Ask Your Question

Revision history [back]

Two options: (1) as @MaxAlekseyev says, use ?? either before or after the item in question: ??G.is_isomorphic or G.is_isomorphic??. (2) You can read the whole source code by visiting GitHub. The documentation for the method (obtained by G.is_isomorphic? — single question mark) will list the file at the end, which in this case is src/sage/graphs/generic_graph.py, so you can navigate to that file and search for the method: https://github.com/sagemath/sage/blob/develop/src/sage/graphs/generic_graph.py#L24000. A possible disadvantage to using GitHub: this is the source code for the latest version of Sage, and so it may not match what you are using on your machine. My guess is that these particular methods are pretty stable, though.