File tree Expand file tree Collapse file tree 2 files changed +6
-1
lines changed
Expand file tree Collapse file tree 2 files changed +6
-1
lines changed Original file line number Diff line number Diff line change 1313 of only supporting one `` pyscript `` interface. This simplifies future maintenance.
1414 * No longer supporting C-style comments. Hash (#) is the only valid comment marker.
1515 * No longer supporting comments embedded in a command. Only command line input where the first
16- non-whitespace character is a # will be treated as a comment.
16+ non-whitespace character is a # will be treated as a comment. This means any # character appearing
17+ later in the command will be treated as a literal. The same applies to a # in the middle of a multiline
18+ command, even if it is the first character on a line.
1719 * \# this is a comment
1820 * this # is not a comment
1921
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ Comments
3030========
3131
3232Any command line input where the first non-whitespace character is a # will be treated as a comment.
33+ This means any # character appearing later in the command will be treated as a literal. The same
34+ applies to a # in the middle of a multiline command, even if it is the first character on a line.
35+
3336Comments can be useful in :ref: `scripts `, but would be pointless within an interactive session.
3437
3538::
You can’t perform that action at this time.
0 commit comments