Ask Your Question

Revision history [back]

Other than type, a good trick is to look at the top of the output from introspection:

sage: tensor?
Base Class:     <class 'sage.categories.tensor.TensorProductFunctor'>
String Form:    The tensor functorial construction
Namespace:      Interactive
File:           /Applications/sage/local/lib/python2.6/site-packages/sage/categories/tensor.py
Definition:     tensor(self, args)
Docstring:
...

Two questionmarks, as in

sage: tensor??

will get you the source code too, or you can browse an html version, which is sometimes more helpful.