bpo-32028: Fix custom print suggestion having leading whitespace in print statement by CuriousLearner · Pull Request #4688 · python/cpython

@CuriousLearner

ncoghlan

@CuriousLearner

@CuriousLearner

serhiy-storchaka

@CuriousLearner

@CuriousLearner

serhiy-storchaka

@CuriousLearner

serhiy-storchaka

@ncoghlan

ncoghlan

miss-islington pushed a commit to miss-islington/cpython that referenced this pull request

Jan 20, 2018
The suggested replacement for print statements previously failed to account
for leading whitespace and hence could end up including unwanted text in
the proposed call to the print builtin.

Patch by Sanyam Khurana.
(cherry picked from commit d57f26c)