mirror of
https://github.com/django/django.git
synced 2025-08-03 18:38:50 +00:00
Fixed broken links, round 3. refs #19516
This commit is contained in:
parent
e2ec7b47b3
commit
b3a8c9dab8
34 changed files with 127 additions and 118 deletions
|
@ -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
|
||||
~~~~~~~~~~~~~
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue