Update Misc/NEWS.d/next/Library/2019-11-09-06-16-24.bpo-38681.jJobMS.rst
Co-Authored-By: Batuhan Taşkaya <47358913+isidentical@users.noreply.github.com>
This commit is contained in:
parent
d13980728f
commit
cd480b0c72
|
@ -1,2 +1,2 @@
|
|||
Transformation performed by certain fixers (e.g. future, itertools_imports) that causes a statement to be replaced by a blank line will generate a Python file that contains syntax error. Enhancement applied checks whether the statement to be replaced has any siblings or not. If no sibling is found, then the statement gets replaced with a "pass" statement instead of a blank line.
|
||||
By doing this, Python source files generated by 2to3 are more readily runnable right after the transformation.
|
||||
Transformation performed by certain fixers (e.g. future, itertools_imports) that causes a statement to be replaced by a blank line will generate a Python file that contains a syntax error. Enhancement applied checks whether the statement to be replaced has any siblings or not. If no sibling is found, then the statement gets replaced with a "pass" statement instead of a blank line.
|
||||
By doing this, Python source files generated by 2to3 are more readily runnable right after the transformation.
|
||||
|
|
Loading…
Reference in New Issue