Browse Source
[3.10] bpo-46091: Correctly calculate indentation levels for whitespace lines with continuation characters (GH-30130). (GH-30898)
[3.10] bpo-46091: Correctly calculate indentation levels for whitespace lines with continuation characters (GH-30130). (GH-30898)
(cherry picked from commit a0efc0c196)
Co-authored-by: Pablo Galindo Salgado <Pablogsal@gmail.com>
pull/30907/head
committed by
GitHub
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 67 additions and 16 deletions
-
3Lib/test/test_ast.py
-
30Lib/test/test_syntax.py
-
2Lib/test/test_tokenize.py
-
2Misc/NEWS.d/next/Core and Builtins/2021-12-16-00-24-00.bpo-46091.rJ_e_e.rst
-
46Parser/tokenizer.c
@ -0,0 +1,2 @@ |
|||
Correctly calculate indentation levels for lines with whitespace character |
|||
that are ended by line continuation characters. Patch by Pablo Galindo |
|||
Write
Preview
Loading…
Cancel
Save
Reference in new issue