]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Bug #1002398: The documentation for os.path.sameopenfile now correctly
authorGeorg Brandl <georg@python.org>
Sun, 30 Jul 2006 11:08:48 +0000 (11:08 +0000)
committerGeorg Brandl <georg@python.org>
Sun, 30 Jul 2006 11:08:48 +0000 (11:08 +0000)
refers to file descriptors, not file objects.
   (backport from rev. 50974)

Doc/lib/libposixpath.tex
Misc/NEWS

index b9cdea1c58a2909fa644011b9db0f262040b6400..0b2da66a00aea9e0e40d4c49dcd024e80d931e65 100644 (file)
@@ -193,9 +193,8 @@ Availability:  Macintosh, \UNIX.
 \end{funcdesc}
 
 \begin{funcdesc}{sameopenfile}{fp1, fp2}
-Return \code{True} if the file objects \var{fp1} and \var{fp2} refer to the
-same file.  The two file objects may represent different file
-descriptors.
+Return \code{True} if the file descriptors \var{fp1} and \var{fp2} refer
+to the same file.
 Availability:  Macintosh, \UNIX.
 \end{funcdesc}
 
index e6b206963e23e3b08722c13655ba57dea7c855d8..82872a8ff11aefde5c4e6770156ceb94fb7cd66a 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -67,6 +67,9 @@ Extension Modules
 Library
 -------
 
+- Bug #1002398: The documentation for os.path.sameopenfile now correctly
+  refers to file descriptors, not file objects.
+
 - Bug #1529297:  The rewrite of doctest for Python 2.4 unintentionally
   lost that tests are sorted by name before being run.  This rarely
   matters for well-written tests, but can create baffling symptoms if