From: Georg Brandl Date: Sun, 30 Jul 2006 11:08:48 +0000 (+0000) Subject: Bug #1002398: The documentation for os.path.sameopenfile now correctly X-Git-Tag: v2.4.4c1~141 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=4e0992d57045bd0407f173682865b714a7acdad5;p=thirdparty%2FPython%2Fcpython.git Bug #1002398: The documentation for os.path.sameopenfile now correctly refers to file descriptors, not file objects. (backport from rev. 50974) --- diff --git a/Doc/lib/libposixpath.tex b/Doc/lib/libposixpath.tex index b9cdea1c58a2..0b2da66a00ae 100644 --- a/Doc/lib/libposixpath.tex +++ b/Doc/lib/libposixpath.tex @@ -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} diff --git a/Misc/NEWS b/Misc/NEWS index e6b206963e23..82872a8ff11a 100644 --- 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