This issue tracker has been migrated to GitHub ,
and is currently read-only.
For more information,
see the GitHub FAQs in the Python's Developer Guide.
Created on 2012年04月24日 18:07 by nulchar, last changed 2022年04月11日 14:57 by admin. This issue is now closed.
| Files | ||||
|---|---|---|---|---|
| File name | Uploaded | Description | Edit | |
| comment.py | nulchar, 2012年04月24日 18:07 | Example Script | ||
| Messages (2) | |||
|---|---|---|---|
| msg159180 - (view) | Author: Nul Character (nulchar) | Date: 2012年04月24日 18:07 | |
When attempting to comment out a comment and thus nullifying it, the interpreter just double comments the line. This behavior works with multiline comments, however, the single line comments "double-comment" the line. |
|||
| msg159181 - (view) | Author: R. David Murray (r.david.murray) * (Python committer) | Date: 2012年04月24日 18:12 | |
A comment is a comment. *All* characters after the # are ignored, including other #s. Also, Python doesn't have multiline comments. (Well, you can use a triple quoted string as a multiline comment, but it is still a string, and follows the syntax rules of strings.) |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:57:29 | admin | set | github: 58868 |
| 2012年04月24日 18:12:22 | r.david.murray | set | status: open -> closed type: performance -> behavior nosy: + r.david.murray messages: + msg159181 resolution: not a bug stage: resolved |
| 2012年04月24日 18:07:12 | nulchar | create | |