From: Antoine Pitrou Date: Mon, 13 Apr 2015 19:07:57 +0000 (+0200) Subject: Fix doc build error X-Git-Tag: v3.5.0a4~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3764fc295115e4eb83ffcd0b3d9a13c71bf2f20a;p=python Fix doc build error --- diff --git a/Doc/howto/pyporting.rst b/Doc/howto/pyporting.rst index 5f7cc34b3d..7adeea77aa 100644 --- a/Doc/howto/pyporting.rst +++ b/Doc/howto/pyporting.rst @@ -350,7 +350,7 @@ Python 2 or 3 support. You may also want to use use the ``-bb`` flag with the Python 3 interpreter to trigger an exception when you are comparing bytes to strings or bytes to an int (the latter is available starting in Python 3.5). By default type-differing - comparisons simply return ``False``, but if you made a mistake in your +comparisons simply return ``False``, but if you made a mistake in your separation of text/binary data handling or indexing on bytes you wouldn't easily find the mistake. This flag will raise an exception when these kinds of comparisons occur, making the mistake much easier to track down.