| Home | Trees | Indices | Help |
|---|
|
|
Sage Notebook: Introspection
TODO:
-- add support for grabbing source code from pyrex functions (even if not
perfect is better than nothing).
-- png or mathml output format for docstring
|
|||
|
|||
|
|||
|
|||
|
|||
|
|||
Return introspection from a given query string.
INPUT:
S -- a Sage0 object, i.e., an interface to a running instance
of Python with the SAGE libraries loaded
query -- a string: - if has no '?' then return completion list
- if begins or ends in one '?' return docstring
- if begins or ends in '??' return source code
format -- (string) 'html', 'png', 'none'
(only html is implemented right now!)
|
| Home | Trees | Indices | Help |
|---|
| Generated by Epydoc 3.0beta1 on Thu Jul 17 04:23:29 2008 | http://epydoc.sourceforge.net |