Module demonstrating the constant representations.
| Constant | A |
The value of a constant is rendered with syntax highlighting. Internal and external links are generated to references of classes/functions used inside the constant |
| Constant | A |
Nested objects are colorized. |
| Constant | A |
Multiline strings are always rendered in triple quotes. |
| Constant | A |
Strings are always rendered in single quotes, and appropriate escaping is added when required. |
| Constant | FUNCTION |
Function calls are colorized. |
| Constant | OPERATORS |
Operators are colorized and parenthesis are added when syntactically required. |
| Constant | RE |
Undocumented |
| Constant | RE |
Regular expressions have special colorizing that add syntax highlight to the regex components. |
| Constant | RE |
Unicode is supported in regular expressions. |
| Constant | UNSUPPORTED |
A lot of objects can be colorized: function calls, strings, lists, dicts, sets, frozensets, operators, annotations, names, compiled regular expressions, etc. But when dealing with usupported constructs, like lamba functions, it will display the value without colorization. |
The value of a constant is rendered with syntax highlighting. Internal and external links are generated to references of classes/functions used inside the constant
| Value |
|
Multiline strings are always rendered in triple quotes.
| Value |
|
Strings are always rendered in single quotes, and appropriate escaping is added when required.
Continuing lines are wrapped with symbol: "↵" after reaching the maximum number of caracters per line (defaults to 80), change this value with option --pyval-repr-linelen.
Unicode is supported.
| Value |
|
Operators are colorized and parenthesis are added when syntactically required.
| Value |
|
Undocumented
| Value |
|
Regular expressions have special colorizing that add syntax highlight to the regex components.
| Value |
|
A lot of objects can be colorized: function calls, strings, lists, dicts, sets, frozensets, operators, annotations, names, compiled regular expressions, etc. But when dealing with usupported constructs, like lamba functions, it will display the value without colorization.
| Value |
|