Anonymous user
Comments: Difference between revisions
→{{header|Python}}: Un-Pythonic.
(Comments en gecho) |
(→{{header|Python}}: Un-Pythonic.) |
||
Line 2,246:
'''</lang>
Note that strings inserted among program statements in Python are treated as expressions (which, in void context, do nothing). Thus it's possible to "comment out" a section of code by simply wrapping the lines in "triple quotes" (three consecutive instances of quotation marks, or of apostrophes, and terminated with a matching set of the same). Using unassigned strings as comments is frowned on and may also trigger certain linters.
===Documentation Strings===
|