Fix typo. Revert my previous diff that removed another example breaking before "and".
This commit is contained in:
parent
c59c4376ad
commit
21bdcd2e9b
|
@ -147,8 +147,8 @@ Acceptable options in this situation include, but are not limited to::
|
|||
do_something()
|
||||
|
||||
# Add some extra indentation on the conditional continuation line.
|
||||
if (this_is_one_thing and
|
||||
that_is_another_thing):
|
||||
if (this_is_one_thing
|
||||
and that_is_another_thing):
|
||||
do_something()
|
||||
|
||||
(Also see the discussion of whether to break before or after binary
|
||||
|
@ -260,7 +260,7 @@ typesetting [3]_. Therefore it is permissible to break before or
|
|||
after a binary operator, as long as the convention is consistent
|
||||
locally. For new code Knuth's style is suggested.
|
||||
|
||||
Some examples of code beaking before binary Boolean operators::
|
||||
Some examples of code breaking before binary Boolean operators::
|
||||
|
||||
class Rectangle(Blob):
|
||||
|
||||
|
|
Loading…
Reference in New Issue