From fbc06eef1af1d7ecf91fae5a94a1994f356ffd22 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Tue, 25 Dec 2012 09:56:22 -0500 Subject: [1.5.X] Fixed broken links, round 3. refs #19516 Backport of b3a8c9dab8 from master --- docs/topics/python3.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs/topics/python3.txt') diff --git a/docs/topics/python3.txt b/docs/topics/python3.txt index e6dc165399..e1d78a10e6 100644 --- a/docs/topics/python3.txt +++ b/docs/topics/python3.txt @@ -343,7 +343,7 @@ meaning of ``str`` changed. To test these types, use the following idioms:: isinstance(myvalue, bytes) # replacement for str Python ≥ 2.6 provides ``bytes`` as an alias for ``str``, so you don't need -:attr:`six.binary_type`. +:data:`six.binary_type`. ``long`` ~~~~~~~~ @@ -356,7 +356,7 @@ The ``long`` type no longer exists in Python 3. ``1L`` is a syntax error. Use ``xrange`` ~~~~~~~~~~ -Import :func:`six.moves.xrange` wherever you use ``xrange``. +Import ``six.moves.xrange`` wherever you use ``xrange``. Moved modules ~~~~~~~~~~~~~ -- cgit v1.3