mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
[1.7.x] Updated doc links to point to Python 3 documentation
Backport of 680a0f08b from master.
This commit is contained in:
@@ -11,8 +11,8 @@ The ``File`` Class
|
||||
|
||||
.. class:: File(file_object)
|
||||
|
||||
The :class:`File` class is a thin wrapper around Python's :py:ref:`built-in
|
||||
file object<bltin-file-objects>` with some Django-specific additions.
|
||||
The :class:`File` class is a thin wrapper around a Python
|
||||
:py:term:`file object` with some Django-specific additions.
|
||||
Internally, Django uses this class when it needs to represent a file.
|
||||
|
||||
:class:`File` objects have the following attributes and methods:
|
||||
@@ -28,8 +28,7 @@ The ``File`` Class
|
||||
|
||||
.. attribute:: file
|
||||
|
||||
The underlying :py:ref:`built-in file object<bltin-file-objects>` that
|
||||
this class wraps.
|
||||
The underlying :py:term:`file object` that this class wraps.
|
||||
|
||||
.. attribute:: mode
|
||||
|
||||
|
||||
Reference in New Issue
Block a user