[Python-checkins] peps: Kill as_bytes()

antoine.pitrou python-checkins at python.org
Sat Nov 16 19:50:56 CET 2013


http://hg.python.org/peps/rev/091f768e34e6
changeset:   5277:091f768e34e6
user:        Antoine Pitrou <solipsis at pitrou.net>
date:        Sat Nov 16 19:50:52 2013 +0100
summary:
  Kill as_bytes()

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


diff --git a/pep-0428.txt b/pep-0428.txt
--- a/pep-0428.txt
+++ b/pep-0428.txt
@@ -343,7 +343,7 @@
     'c:/windows'
 
 To get the bytes representation (which might be useful under Unix systems),
-call ``bytes()`` on it, or use the ``as_bytes()`` method::
+call ``bytes()`` on it::
 
     >>> bytes(p)
     b'/home/antoine/pathlib/setup.py'

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


More information about the Python-checkins mailing list