Switch broken examples for spaces around operators. Fixes issue 16239.

This commit is contained in:
Guido van Rossum 2012-10-27 19:04:41 -07:00
parent 7c098c5c15
commit 1a6a2e8f72
1 changed files with 6 additions and 6 deletions

View File

@ -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.