summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
Diffstat (limited to 'Doc')
-rw-r--r--Doc/lib/libsys.tex6
-rw-r--r--Doc/libsys.tex6
2 files changed, 12 insertions, 0 deletions
diff --git a/Doc/lib/libsys.tex b/Doc/lib/libsys.tex
index e4cd875..e63e616 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}
diff --git a/Doc/libsys.tex b/Doc/libsys.tex
index e4cd875..e63e616 100644
--- a/Doc/libsys.tex
+++ b/Doc/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}