From: Vinay Sajip Date: Tue, 19 Dec 2006 18:29:11 +0000 (+0000) Subject: Updated documentation for findCaller() to indicate that a 3-tuple is now returned... X-Git-Tag: v2.6a1~2354 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8183c635bc9906b2344c0b369955d478dce15088;p=thirdparty%2FPython%2Fcpython.git Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple. --- diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex index e01fe0beb728..b97854d4e72d 100644 --- a/Doc/lib/liblogging.tex +++ b/Doc/lib/liblogging.tex @@ -516,8 +516,10 @@ Removes the specified handler \var{hdlr} from this logger. \end{methoddesc} \begin{methoddesc}{findCaller}{} -Finds the caller's source filename and line number. Returns the filename -and line number as a 2-element tuple. +Finds the caller's source filename and line number. Returns the filename, +line number and function name as a 3-element tuple. +\versionchanged[The function name was added. In earlier versions, the +filename and line number were returned as a 2-element tuple.]{2.5} \end{methoddesc} \begin{methoddesc}{handle}{record}