Closed
Closed
Copy link
Description
Documentation
A sample code for ast.While currently looks like this:
Currently, all of the sample code is displayed in gray, and there is no syntax highlighting for print
functions or a string literal.
The sample code should be colored correctly like the other examples, like a sample code for ast.For:
Amendment proposal
I don't know a syntax for reStructuredText
, but I find it odd that >
characters are only two as an prompt, not three:
Line 1188 in f9578dc
I think if we make the prompt >
three characters like the other sample codes it will be colored correctly:
- >> print(ast.dump(ast.parse("""
+ >>> print(ast.dump(ast.parse("""
Linked PRs
Metadata
Metadata
Assignees
Labels
Documentation in the Doc dirDocumentation in the Doc dir
Projects
Status
Todo