diff options
author | Pablo Galindo Salgado <Pablogsal@gmail.com> | 2023-06-07 11:04:40 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-06-07 11:04:40 (GMT) |
commit | ffd26545509b706437ca38bd6db6108c1d0e2326 (patch) | |
tree | 60a2785e5239c132e7ae1f1f2e536d1974476a66 /Doc/library/tokenize.rst | |
parent | 27c68a6d8f20090310450862c2c299bb7ba3c160 (diff) | |
download | cpython-ffd26545509b706437ca38bd6db6108c1d0e2326.zip cpython-ffd26545509b706437ca38bd6db6108c1d0e2326.tar.gz cpython-ffd26545509b706437ca38bd6db6108c1d0e2326.tar.bz2 |
gh-105390: Correctly raise TokenError instead of SyntaxError for tokenize errors (#105399)
Diffstat (limited to 'Doc/library/tokenize.rst')
-rw-r--r-- | Doc/library/tokenize.rst | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/Doc/library/tokenize.rst b/Doc/library/tokenize.rst index 11f569d..41222a7 100644 --- a/Doc/library/tokenize.rst +++ b/Doc/library/tokenize.rst @@ -139,11 +139,6 @@ function it uses to do this is available: 2, 3 -Note that unclosed single-quoted strings do not cause an error to be -raised. They are tokenized as :data:`~token.ERRORTOKEN`, followed by the -tokenization of their contents. - - .. _tokenize-cli: Command-Line Usage |