diff options
| author | Guido van Rossum <guido@python.org> | 1998-02-07 21:17:05 +0000 |
|---|---|---|
| committer | Guido van Rossum <guido@python.org> | 1998-02-07 21:17:05 +0000 |
| commit | 6e91c6a34458efe77af0bce7abde706204ba0e64 (patch) | |
| tree | 5af8d6cc9a19a209ea319dfc3371cf1029b38438 /Doc/lib | |
| parent | b37a3952319835c2c5c3377e4a9496539186518d (diff) | |
| download | cpython-git-6e91c6a34458efe77af0bce7abde706204ba0e64.tar.gz | |
Document getrefcount().
Diffstat (limited to 'Doc/lib')
| -rw-r--r-- | Doc/lib/libsys.tex | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex index e4cd8756cc..e63e616f94 100644 --- a/Doc/lib/libsys.tex +++ b/Doc/lib/libsys.tex @@ -104,6 +104,12 @@ where \emph{VER} is equal to \code{sys.version[:3]}. cannot be trusted). \end{datadesc} +\begin{funcdesc}{getrefcount}{object} +Return the reference count of the \var{object}. The count returned is +generally one higher than you might expect, because it includes the +(temporary) reference as an argument to \code{getrefcount()}. +\end{funcdesc} + \begin{datadesc}{last_type} \dataline{last_value} \dataline{last_traceback} |
