summaryrefslogtreecommitdiffstats
path: root/Doc/reference/datamodel.rst
diff options
context:
space:
mode:
authorAntoine Pitrou <solipsis@pitrou.net>2010-09-15 09:58:26 (GMT)
committerAntoine Pitrou <solipsis@pitrou.net>2010-09-15 09:58:26 (GMT)
commit0b65b0fc83fcef781443b505c8a24fa5ffe684c5 (patch)
tree67b7cedc57057576f3d83b9418bc88a628572491 /Doc/reference/datamodel.rst
parent5aa0d1056047ffbca76e8c2a1d27dcefd3716aeb (diff)
downloadcpython-0b65b0fc83fcef781443b505c8a24fa5ffe684c5.zip
cpython-0b65b0fc83fcef781443b505c8a24fa5ffe684c5.tar.gz
cpython-0b65b0fc83fcef781443b505c8a24fa5ffe684c5.tar.bz2
Add a glossary entry for file objects.
Diffstat (limited to 'Doc/reference/datamodel.rst')
-rw-r--r--Doc/reference/datamodel.rst6
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst
index fc64b84..ac94ef2 100644
--- a/Doc/reference/datamodel.rst
+++ b/Doc/reference/datamodel.rst
@@ -781,9 +781,9 @@ I/O objects (also known as file objects)
single: stdout (in module sys)
single: stderr (in module sys)
- A file object represents an open file. Various shortcuts are available
- to create file objects: the :func:`open` built-in function, and also
- :func:`os.popen`, :func:`os.fdopen`, and the :meth:`makefile` method
+ A :term:`file object` represents an open file. Various shortcuts are
+ available to create file objects: the :func:`open` built-in function, and
+ also :func:`os.popen`, :func:`os.fdopen`, and the :meth:`makefile` method
of socket objects (and perhaps by other functions or methods provided
by extension modules).