Python syntax: multiline string should be constant.string, not comment (#2268)

* Python syntax: multiline string should be comment.string, not comment 

''' delimits multiline strings, not comments

* Python syntax: multiline string should be comment.string, not comment 

''' delimits multiline strings, not comments

* Update python3.yaml for python3.10 keywords
This commit is contained in:
abaldota
2021-11-15 05:54:56 +00:00
committed by GitHub
parent 26c24c25c0
commit d023aef6b5
2 changed files with 3 additions and 3 deletions

View File

@@ -34,7 +34,7 @@ rules:
end: "\"\"\""
rules: []
- comment:
- constant.string:
start: "'''"
end: "'''"
rules: []