1 | initial version |
Use browse_sage_doc
:
sage: R.<x> = QQ[]
sage: browse_sage_doc(R.base_ring)
For more help:
sage: browse_sage_doc(browse_sage_doc)
2 | No.2 Revision |
Use browse_sage_doc
:
sage: R.<x> = QQ[]
sage: browse_sage_doc(R.base_ring)
For more help:
sage: browse_sage_doc(browse_sage_doc)
Edit: sorry, I misread your question. If you want the source code, not the just the help message, there is no guaranteed way. You could try this:
sage: from sage.misc.sagedoc import my_getsource
sage: view(my_getsource(R.base_ring)
)
3 | No.3 Revision |
Use browse_sage_doc
:
sage: R.<x> = QQ[]
sage: browse_sage_doc(R.base_ring)
For more help:
sage: browse_sage_doc(browse_sage_doc)
Edit: sorry, I misread your question. If you want the source code, not the just the help message, there is no guaranteed way. You could try this:
sage: from sage.misc.sagedoc import my_getsource
sage: view(my_getsource(R.base_ring)
view(my_getsource(R.base_ring))
)