[Python-checkins] peps: Fix style inconsistency with "and" on continuation line.
guido.van.rossum
python-checkins at python.org
Thu Apr 14 13:22:05 EDT 2016
https://hg.python.org/peps/rev/502239ce4889
changeset: 6282:502239ce4889
user: Guido van Rossum <guido at python.org>
date: Thu Apr 14 10:21:55 2016 -0700
summary:
Fix style inconsistency with "and" on continuation line.
files:
pep-0008.txt | 4 ++--
1 files changed, 2 insertions(+), 2 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()
The closing brace/bracket/parenthesis on multi-line constructs may
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list