]> 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:29:11 +0000 (18:29 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Tue, 19 Dec 2006 18:29:11 +0000 (18:29 +0000)
Doc/lib/liblogging.tex

index e01fe0beb7288b041eb434f27d313b7b735323aa..b97854d4e72dfdc55fdb5e30be7efbc0b88b1665 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}