| Left: | ||
| Right: |
| OLD | NEW |
|---|---|
| 1 def prefix(a, b): | 1 def prefix(a, b): |
| 2 # * A108 | 2 # * A108 |
| 3 return 'foo' + a + b | 3 return 'foo' + a + b |
| 4 | 4 |
| 5 | 5 |
| 6 def infix(a, b): | 6 def infix(a, b): |
| 7 # * A108 | 7 # * A108 |
| 8 return a + 'foo' + b | 8 return a + 'foo' + b |
| 9 | 9 |
| 10 | 10 |
| 11 def suffix(a, b): | 11 def suffix(a, b): |
| 12 # * A108 | 12 # * A108 |
| 13 return a + b + 'foo' | 13 return a + b + 'foo' |
| 14 | 14 |
| 15 | 15 |
| 16 def prefix_with_two_strings(other): | 16 def prefix_with_two_strings(other): |
| 17 return 'foo' + other | 17 return 'foo' + other |
| 18 | 18 |
| 19 | 19 |
| 20 def suffix_with_two_strings(other): | 20 def suffix_with_two_strings(other): |
| 21 return other + 'foo' | 21 return other + 'foo' |
| OLD | NEW |