From 4e0992d57045bd0407f173682865b714a7acdad5 Mon Sep 17 00:00:00 2001 From: Georg Brandl Date: Sun, 30 Jul 2006 11:08:48 +0000 Subject: [PATCH] Bug #1002398: The documentation for os.path.sameopenfile now correctly refers to file descriptors, not file objects. (backport from rev. 50974) --- Doc/lib/libposixpath.tex | 5 ++--- Misc/NEWS | 3 +++ 2 files changed, 5 insertions(+), 3 deletions(-) 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 -- 2.47.3