summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorVinay Sajip <vinay_sajip@yahoo.co.uk>2006-12-19 18:29:11 (GMT)
committerVinay Sajip <vinay_sajip@yahoo.co.uk>2006-12-19 18:29:11 (GMT)
commit8183c635bc9906b2344c0b369955d478dce15088 (patch)
tree75cec35bc1c83f113f253390d1884cef7ebd2c9b /Doc
parent29ff461c832c6677f89aa644893e4ff679393b61 (diff)
downloadcpython-8183c635bc9906b2344c0b369955d478dce15088.zip
cpython-8183c635bc9906b2344c0b369955d478dce15088.tar.gz
cpython-8183c635bc9906b2344c0b369955d478dce15088.tar.bz2
Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/liblogging.tex6
1 files changed, 4 insertions, 2 deletions
diff --git a/Doc/lib/liblogging.tex b/Doc/lib/liblogging.tex
index e01fe0b..b97854d 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}