[Python-checkins] peps: Fix typo. Revert my previous diff that removed another example breaking before
guido.van.rossum
python-checkins at python.org
Fri Apr 15 12:54:49 EDT 2016
https://hg.python.org/peps/rev/c8554dfd4f22
changeset: 6284:c8554dfd4f22
user: Guido van Rossum <guido at python.org>
date: Fri Apr 15 09:54:42 2016 -0700
summary:
Fix typo. Revert my previous diff that removed another example breaking before "and".
files:
pep-0008.txt | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/pep-0008.txt b/pep-0008.txt
--- a/pep-0008.txt
+++ b/pep-0008.txt
@@ -147,8 +147,8 @@
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 @@
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):
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list