File: multiline-string-comment.txt

package info (click to toggle)
pygments 2.18.0%2Bdfsg-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 10,184 kB
  • sloc: python: 103,327; javascript: 238; makefile: 142; sh: 84; lisp: 74
file content (15 lines) | stat: -rw-r--r-- 439 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
---input---
message = """multiline strings
            can be followed by""" # comments

---tokens---
'message'     Name
' '           Text.Whitespace
'='           Operator
' '           Text.Whitespace
'"""'         Literal.String.Double
'multiline strings\n            can be followed by' Literal.String.Double
'"""'         Literal.String.Double
' '           Text.Whitespace
'# comments'  Comment.Single
'\n'          Text.Whitespace