diff options
author | Raymond Hettinger <python@rcn.com> | 2010-12-17 23:31:30 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2010-12-17 23:31:30 (GMT) |
commit | c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1 (patch) | |
tree | 0da542eabe574e29ddab9bfede22f229bdbcc2e8 | |
parent | c5895dcc15d442ac45567b67a68ef76db8c20cd9 (diff) | |
download | cpython-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.zip cpython-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.tar.gz cpython-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.tar.bz2 |
Add link to a sample solution to a common problem.
-rw-r--r-- | Doc/library/sys.rst | 3 |
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() |