Commit d57f26c
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.
1 parent 6690bb9 commit d57f26c
3 files changed
Lines changed: 23 additions & 5 deletions
File tree
- Lib/test
- Misc/NEWS.d/next/Core and Builtins
- Objects
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
156 | 156 | | |
157 | 157 | | |
158 | 158 | | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| 166 | + | |
| 167 | + | |
159 | 168 | | |
160 | 169 | | |
161 | 170 | | |
| |||
Lines changed: 3 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2846 | 2846 | | |
2847 | 2847 | | |
2848 | 2848 | | |
2849 | | - | |
2850 | | - | |
2851 | | - | |
| 2849 | + | |
| 2850 | + | |
| 2851 | + | |
| 2852 | + | |
| 2853 | + | |
| 2854 | + | |
| 2855 | + | |
| 2856 | + | |
| 2857 | + | |
| 2858 | + | |
2852 | 2859 | | |
2853 | 2860 | | |
2854 | 2861 | | |
2855 | 2862 | | |
2856 | | - | |
| 2863 | + | |
2857 | 2864 | | |
2858 | 2865 | | |
2859 | | - | |
2860 | 2866 | | |
2861 | 2867 | | |
2862 | 2868 | | |
| |||
0 commit comments