[3.6] bpo-32028: Fix suggestions for indented print statements (GH-4688) by miss-islington · Pull Request #5249 · python/cpython

@CuriousLearner @miss-islington

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)

ncoghlan