diff options
| author | Raymond Hettinger <python@rcn.com> | 2010-12-17 23:31:30 +0000 |
|---|---|---|
| committer | Raymond Hettinger <python@rcn.com> | 2010-12-17 23:31:30 +0000 |
| commit | c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1 (patch) | |
| tree | 0da542eabe574e29ddab9bfede22f229bdbcc2e8 /Doc/library | |
| parent | c5895dcc15d442ac45567b67a68ef76db8c20cd9 (diff) | |
| download | cpython-git-c539a2a88ef54b4ecb1c3c769f31b6e8da361ad1.tar.gz | |
Add link to a sample solution to a common problem.
Diffstat (limited to 'Doc/library')
| -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 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 <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() |
