summaryrefslogtreecommitdiffstats
path: root/Doc/library/sys.rst
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2010-12-17 23:31:30 (GMT)
committerRaymond Hettinger <python@rcn.com>2010-12-17 23:31:30 (GMT)
commitc539a2a88ef54b4ecb1c3c769f31b6e8da361ad1 (patch)
tree0da542eabe574e29ddab9bfede22f229bdbcc2e8 /Doc/library/sys.rst
parentc5895dcc15d442ac45567b67a68ef76db8c20cd9 (diff)
downloadcpython-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.zip
cpython-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.tar.gz
cpython-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.tar.bz2
Add link to a sample solution to a common problem.
Diffstat (limited to 'Doc/library/sys.rst')
-rw-r--r--Doc/library/sys.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 95d1cf9..6aaf10c 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -415,6 +415,9 @@ always available.
additional garbage collector overhead if the object is managed by the garbage
collector.
+ See `recursive sizeof recipe <http://code.activestate.com/recipes/577504>`_
+ for an example of using :func:`getsizeof` recursively to find the size of
+ containers and all their contents.
.. function:: getswitchinterval()