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