This commit is contained in:
Benjamin Peterson 2014-06-07 17:55:53 -07:00
commit 66f80e92c3
2 changed files with 19 additions and 0 deletions

View File

@ -131,6 +131,24 @@ function it uses to do this is available:
.. versionadded:: 3.2
.. exception:: TokenError
Raised when either a docstring or expression that may be split over several
lines is not completed anywhere in the file, for example::
"""Beginning of
docstring
or::
[1,
2,
3
Note that unclosed single-quoted strings do not cause an error to be
raised. They are tokenized as ``ERRORTOKEN``, followed by the tokenization of
their contents.
.. _tokenize-cli:

View File

@ -755,6 +755,7 @@ Julia Lawall
Chris Lawrence
Brian Leair
Mathieu Leduc-Hamel
Amandine Lee
Antony Lee
Christopher Lee
Inyeol Lee