Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge pull request #858 from intgr/py3kdoc-fix

Fixed a typo in Python 3 porting guide.
  • Loading branch information...
commit 226a9fb2ea417dacbd01c95dd5283c9478e0abf6 2 parents b0ba21d + fba6df1
Tim Graham authored February 27, 2013

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. 2  docs/topics/python3.txt
2  docs/topics/python3.txt
@@ -238,7 +238,7 @@ under Python 3, use the :func:`str` builtin::
238 238
     str('my string')
239 239
 
240 240
 In Python 3, there aren't any automatic conversions between ``str`` and
241  
-``bytes``, and the :mod:`codecs` module became more strict. :meth:`str.decode`
  241
+``bytes``, and the :mod:`codecs` module became more strict. :meth:`str.encode`
242 242
 always returns ``bytes``, and ``bytes.decode`` always returns ``str``. As a
243 243
 consequence, the following pattern is sometimes necessary::
244 244
 

0 notes on commit 226a9fb

Please sign in to comment.
Something went wrong with that request. Please try again.