From 6e91c6a34458efe77af0bce7abde706204ba0e64 Mon Sep 17 00:00:00 2001
From: Guido van Rossum <guido@python.org>
Date: Sat, 7 Feb 1998 21:17:05 +0000
Subject: Document getrefcount().

---
 Doc/lib/libsys.tex | 6 ++++++
 Doc/libsys.tex     | 6 ++++++
 2 files changed, 12 insertions(+)

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}
-- 
cgit v0.12

