Switch broken examples for spaces around operators. Fixes issue 16239.
This commit is contained in:
parent
7c098c5c15
commit
1a6a2e8f72
12
pep-0008.txt
12
pep-0008.txt
|
@ -313,17 +313,17 @@ Other Recommendations
|
|||
|
||||
i = i + 1
|
||||
submitted += 1
|
||||
x = x * 2 - 1
|
||||
hypot2 = x * x + y * y
|
||||
c = (a + b) * (a - b)
|
||||
x = x*2 - 1
|
||||
hypot2 = x*x + y*y
|
||||
c = (a+b) * (a-b)
|
||||
|
||||
No::
|
||||
|
||||
i=i+1
|
||||
submitted +=1
|
||||
x = x*2 - 1
|
||||
hypot2 = x*x + y*y
|
||||
c = (a+b) * (a-b)
|
||||
x = x * 2 - 1
|
||||
hypot2 = x * x + y * y
|
||||
c = (a + b) * (a - b)
|
||||
|
||||
- Don't use spaces around the ``=`` sign when used to indicate a
|
||||
keyword argument or a default parameter value.
|
||||
|
|
Loading…
Reference in New Issue