]> granicus.if.org Git - python/commitdiff
Elaborate that sizeof only accounts for the object itself.
authorMartin v. Löwis <martin@v.loewis.de>
Sun, 17 Jun 2012 08:40:16 +0000 (10:40 +0200)
committerMartin v. Löwis <martin@v.loewis.de>
Sun, 17 Jun 2012 08:40:16 +0000 (10:40 +0200)
Doc/library/sys.rst

index 55c06ca643046a91d38f48ecb501e16617335ed7..c7b3ea95b083ae3ae4700a02212c4c756a91c535 100644 (file)
@@ -441,6 +441,9 @@ always available.
    does not have to hold true for third-party extensions as it is implementation
    specific.
 
+   Only the memory consumption directly attributed to the object is
+   accounted for, not the memory consumption of objects it refers to.
+
    If given, *default* will be returned if the object does not provide means to
    retrieve the size.  Otherwise a :exc:`TypeError` will be raised.