[Python-checkins] peps: fix %a bytes example

ethan.furman python-checkins at python.org
Wed Mar 26 23:47:19 CET 2014


http://hg.python.org/peps/rev/887045b096c8
changeset:   5434:887045b096c8
user:        Ethan Furman <ethan at stoneleaf.us>
date:        Wed Mar 26 15:47:12 2014 -0700
summary:
  fix %a bytes example

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


diff --git a/pep-0461.txt b/pep-0461.txt
--- a/pep-0461.txt
+++ b/pep-0461.txt
@@ -136,7 +136,7 @@
     b'3.14'
 
     >>> b'%a' % b'abc'
-    b'abc'
+    b"b'abc'"
 
     >>> b'%a' % 'def'
     b"'def'"

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


More information about the Python-checkins mailing list