From: Raymond Hettinger Date: Fri, 17 Dec 2010 23:31:30 +0000 (+0000) Subject: Add link to a sample solution to a common problem. X-Git-Tag: v3.2b2~31 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1;p=python Add link to a sample solution to a common problem. --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 95d1cf91f5..6aaf10c461 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 `_ + for an example of using :func:`getsizeof` recursively to find the size of + containers and all their contents. .. function:: getswitchinterval()