[Python-checkins] peps: Normalize examples.

eric.smith python-checkins at python.org
Sat Aug 8 08:48:34 CEST 2015


https://hg.python.org/peps/rev/0069da558ce6
changeset:   5930:0069da558ce6
parent:      5926:b658dd445504
user:        Eric V. Smith <eric at trueblade.com>
date:        Sat Aug 08 02:48:16 2015 -0400
summary:
  Normalize examples.

files:
  pep-0498.txt |  2 +-
  1 files changed, 1 insertions(+), 1 deletions(-)


diff --git a/pep-0498.txt b/pep-0498.txt
--- a/pep-0498.txt
+++ b/pep-0498.txt
@@ -292,7 +292,7 @@
 or::
 
   >>> for x in (32, 100, 'fifty'):
-  ...   f'x = {x:+3}'
+  ...   print(f'x = {x:+3}')
   ...
   'x = +32'
   'x = +100'

-- 
Repository URL: https://hg.python.org/peps


More information about the Python-checkins mailing list