summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2011-07-09 09:43:33 (GMT)
committerGeorg Brandl <georg@python.org>2011-07-09 09:43:33 (GMT)
commit6c0929b2dda5f3d2d062200ee1e118aa1fc80bfa (patch)
tree06a44715513638ba3b731775906f9fb4f5c951b5
parentf514e61f5be3807b96665a92922df6d3abe95e44 (diff)
downloadcpython-6c0929b2dda5f3d2d062200ee1e118aa1fc80bfa.zip
cpython-6c0929b2dda5f3d2d062200ee1e118aa1fc80bfa.tar.gz
cpython-6c0929b2dda5f3d2d062200ee1e118aa1fc80bfa.tar.bz2
Fix markup and remove character unsupported by latex in 3.3 whatsnew doc.
-rw-r--r--Doc/whatsnew/3.3.rst12
1 files changed, 6 insertions, 6 deletions
diff --git a/Doc/whatsnew/3.3.rst b/Doc/whatsnew/3.3.rst
index 990085e..267de3a 100644
--- a/Doc/whatsnew/3.3.rst
+++ b/Doc/whatsnew/3.3.rst
@@ -72,13 +72,13 @@ codecs
------
Multibyte CJK decoders now resynchronize faster. They only ignore the first
-byte of an invalid byte sequence. For example, b'\xff\n'.decode('gb2312',
-'replace') gives '�\n' instead of '�'.
+byte of an invalid byte sequence. For example, ``b'\xff\n'.decode('gb2312',
+'replace')`` now returns a ``\n`` after the replacement character.
-(http://bugs.python.org/issue12016)
+(:issue:`12016`)
Don't reset incremental encoders of CJK codecs at each call to their encode()
-method anymore. For example: ::
+method anymore. For example::
$ ./python -q
>>> import codecs
@@ -86,10 +86,10 @@ method anymore. For example: ::
>>> b''.join(encoder.encode(x) for x in '\u52ff\u65bd\u65bc\u4eba\u3002 Bye.')
b'~{NpJ)l6HK!#~} Bye.'
-This example gives b'~{Np~}~{J)~}~{l6~}~{HK~}~{!#~} Bye.' with older Python
+This example gives ``b'~{Np~}~{J)~}~{l6~}~{HK~}~{!#~} Bye.'`` with older Python
versions.
-(http://bugs.python.org/issue12100)
+(:issue:`12100`)
faulthandler
------------