API Reference for Enthought Tool Suite 2.7.1
Utilities that are useful in generating documentation
return a URL linking to the class page for obj
returns s, with <, >, and & replaced with proper XML entities
Some docstrings are formatted like this one.
This function removes the common indentation from all lines but the first.
Format parameter list
- argnames : list of argument names (from AST)
- defaults : list of defaults (from AST)
- context : namespace.Namespace instance for linking names encountered
Returns a string with parameters joined with commas
Generate module hierarchy from list
returns [ ((top_module, [ (submodule1, [ submodule1_1, ...]),
(submodule2, [ ... ]), ... ]),
number_of_modules_read_from_list),
((top_module2, [ ... ]),
number_of_modules_read_form_list)
]
return a URL linking to the documentation for obj
Unparse an AST node to text
| Local name | Refers to |
|---|---|
| ast | compiler.ast |
| docobjects | enthought.endo.docobjects |
| re | re |
| sys | sys |
Copyright © 2002-2008 Enthought, Inc.