]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
Updated findCaller documentation.
authorVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 25 May 2007 07:17:37 +0000 (07:17 +0000)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>
Fri, 25 May 2007 07:17:37 +0000 (07:17 +0000)
Doc/lib/liblogging.tex

index 414555ad0e022b4495e4b5074cdc3354b906cdd5..7dcbd9198a203467fbe34b3fb276344458fe6cb8 100644 (file)
@@ -428,9 +428,11 @@ Adds the specified handler \var{hdlr} to this logger.
 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.
+\begin{methoddesc}[Logger]{findCaller}{}
+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.]
 \end{methoddesc}
 
 \begin{methoddesc}{handle}{record}