Kaydet (Commit) e65f14fc authored tarafından Vinay Sajip's avatar Vinay Sajip

Updated documentation for findCaller() to indicate that a 3-tuple is now…

Updated documentation for findCaller() to indicate that a 3-tuple is now returned, rather than a 2-tuple.
üst df6994db
......@@ -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}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment