Ask Your Question

Revision history [back]

Each directory and subdirectory in the sage source has a file named all.py which lists all the class names that should be imported when one does from this.package import *. The top level one is here. This is a lot of stuff, but maybe not quite _every single_ class. Is that enough for what you want though?

Note: Getting all the classes seems like a good start, but I don't know how to get all the method names of a class -- python's dir does this for an _instance_ of a class, but that's not the same thing.