Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 66f80e9

Browse files
committed
merge 3.4 (#12063)
2 parents 9d19da7 + 96e0430 commit 66f80e9

2 files changed

Lines changed: 19 additions & 0 deletions

File tree

Doc/library/tokenize.rst

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -131,6 +131,24 @@ function it uses to do this is available:
131131

132132
.. versionadded:: 3.2
133133

134+
.. exception:: TokenError
135+
136+
Raised when either a docstring or expression that may be split over several
137+
lines is not completed anywhere in the file, for example::
138+
139+
"""Beginning of
140+
docstring
141+
142+
or::
143+
144+
[1,
145+
2,
146+
3
147+
148+
Note that unclosed single-quoted strings do not cause an error to be
149+
raised. They are tokenized as ``ERRORTOKEN``, followed by the tokenization of
150+
their contents.
151+
134152

135153
.. _tokenize-cli:
136154

Misc/ACKS

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -755,6 +755,7 @@ Julia Lawall
755755
Chris Lawrence
756756
Brian Leair
757757
Mathieu Leduc-Hamel
758+
Amandine Lee
758759
Antony Lee
759760
Christopher Lee
760761
Inyeol Lee

0 commit comments

Comments
 (0)