]> granicus.if.org Git - python/commitdiff
Updated documentation for findCaller() to indicate that a 3-tuple is now returned...
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 19 Dec 2006 18:31:22 +0000 (18:31 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 19 Dec 2006 18:31:22 +0000 (18:31 +0000)
Doc/lib/liblogging.tex

index cc4429420febafb0e217f5589669812ac8528d4b..c00c0d027b49c5f287416599d227b73290c84cb4 100644 (file)
@@ -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}