[Python-checkins] r87355 - python/branches/py3k/Doc/library/sys.rst

raymond.hettinger python-checkins at python.org
Sat Dec 18 00:31:30 CET 2010


Author: raymond.hettinger
Date: Sat Dec 18 00:31:30 2010
New Revision: 87355

Log:
Add link to a sample solution to a common problem.

Modified:
   python/branches/py3k/Doc/library/sys.rst

Modified: python/branches/py3k/Doc/library/sys.rst
==============================================================================
--- python/branches/py3k/Doc/library/sys.rst	(original)
+++ python/branches/py3k/Doc/library/sys.rst	Sat Dec 18 00:31:30 2010
@@ -415,6 +415,9 @@
    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()
 


More information about the Python-checkins mailing list