mirror of
https://github.com/adambard/learnxinyminutes-docs.git
synced 2025-08-06 23:06:49 +02:00
Fixes #26: triple-quoted strings are identified as such, not as comments
This commit is contained in:
@@ -15,8 +15,9 @@ to Python 2.x. Look for another tour of Python 3 soon!
|
|||||||
|
|
||||||
```python
|
```python
|
||||||
# Single line comments start with a hash.
|
# Single line comments start with a hash.
|
||||||
""" Multiline comments can we written
|
""" Multiline strings can we written
|
||||||
using three "'s
|
using three "'s, and are often used
|
||||||
|
as comments
|
||||||
"""
|
"""
|
||||||
|
|
||||||
####################################################
|
####################################################
|
||||||
|
Reference in New Issue
Block a user