diff options
| author | Tim Graham <timograham@gmail.com> | 2012-12-25 09:56:22 -0500 |
|---|---|---|
| committer | Tim Graham <timograham@gmail.com> | 2012-12-26 19:10:50 -0500 |
| commit | fbc06eef1af1d7ecf91fae5a94a1994f356ffd22 (patch) | |
| tree | 0d45acf4eecae06ddc205ffc8b23b11dcb4896b9 /docs/topics/python3.txt | |
| parent | e2396bf1220c543ee8d15c7640481889caace61d (diff) | |
[1.5.X] Fixed broken links, round 3. refs #19516
Backport of b3a8c9dab8 from master
Diffstat (limited to 'docs/topics/python3.txt')
| -rw-r--r-- | docs/topics/python3.txt | 4 |
1 files changed, 2 insertions, 2 deletions
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 ~~~~~~~~~~~~~ |
