diff options
author | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-15 09:58:26 +0000 |
---|---|---|
committer | Antoine Pitrou <solipsis@pitrou.net> | 2010-09-15 09:58:26 +0000 |
commit | 70781f5414ef4dd33ad95d736c1b210571d3bedd (patch) | |
tree | 0f137f685e988f153ec377f73245664eda6e9e21 /Doc/reference | |
parent | 55bfaa3b36cf55f23f738105b9fc93c568f84d47 (diff) | |
download | cpython-70781f5414ef4dd33ad95d736c1b210571d3bedd.tar.gz |
Add a glossary entry for file objects.
Diffstat (limited to 'Doc/reference')
-rw-r--r-- | Doc/reference/datamodel.rst | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Doc/reference/datamodel.rst b/Doc/reference/datamodel.rst index fc64b84187..ac94ef2ec1 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). |