[Python-checkins] peps: Copyedit PEP 505 (one bit I missed in the first pass)
chris.angelico
python-checkins at python.org
Sat Sep 19 04:20:39 CEST 2015
https://hg.python.org/peps/rev/65e0bb82aed7
changeset: 6069:65e0bb82aed7
user: Chris Angelico <rosuav at gmail.com>
date: Sat Sep 19 12:20:26 2015 +1000
summary:
Copyedit PEP 505 (one bit I missed in the first pass)
files:
pep-0505.txt | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/pep-0505.txt b/pep-0505.txt
--- a/pep-0505.txt
+++ b/pep-0505.txt
@@ -130,9 +130,11 @@
'My Title'
The direction of associativity is important because the ``None`` coalesing
-operator short circuits: if it's left operand is non-null, then the right
+operator short circuits: if its left operand is non-null, then the right
operand is not evaluated.
+::
+
>>> def get_default(): raise Exception()
>>> 'My Title' ?? get_default()
'My Title'
--
Repository URL: https://hg.python.org/peps
More information about the Python-checkins
mailing list