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 13
13
of only supporting one `` pyscript `` interface. This simplifies future maintenance.
14
14
* No longer supporting C-style comments. Hash (#) is the only valid comment marker.
15
15
* 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.
17
19
* \# this is a comment
18
20
* this # is not a comment
19
21
Original file line number Diff line number Diff line change @@ -30,6 +30,9 @@ Comments
30
30
========
31
31
32
32
Any 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
+
33
36
Comments can be useful in :ref: `scripts `, but would be pointless within an interactive session.
34
37
35
38
::
You can’t perform that action at this time.
0 commit comments