]> granicus.if.org Git - python/commitdiff
Add link to a sample solution to a common problem.
authorRaymond Hettinger <python@rcn.com>
Fri, 17 Dec 2010 23:31:30 +0000 (23:31 +0000)
committerRaymond Hettinger <python@rcn.com>
Fri, 17 Dec 2010 23:31:30 +0000 (23:31 +0000)
Doc/library/sys.rst

index 95d1cf91f50354317e1dbf6e445733da628db3cb..6aaf10c461b14e51e6867d9a1512b863c495116f 100644 (file)
@@ -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()