Home | Trees | Indices | Help |
|
---|
|
The highlighter also takes care of line-wrapping, and automatically stops generating repr output as soon as it has exceeded the specified number of lines (which should make it faster than pprint for large values). It does not bother to do automatic cycle detection, because maxlines is typically around 5, so it's really not worth it.
The syntax-highlighted output is encoded using a ParsedEpytextDocstring, which can then be used to generate output in a variety of formats.
|
|||
_ColorizerState An object uesd to keep track of the current state of the pyval colorizer. |
|||
_Maxlines A control-flow exception that is raised when PyvalColorizer exeeds the maximum number of allowed lines. |
|||
_Linebreak A control-flow exception that is raised when PyvalColorizer generates a string containing a newline, but the state object's linebreakok variable is False. |
|||
ColorizedPyvalRepr | |||
PyvalColorizer Syntax highlighter for Python values. |
|
|||
|
|||
|
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0beta1 on Thu Mar 1 04:23:22 2007 | http://epydoc.sourceforge.net |