Martin von Löwis committed cddaf96

Elaborate that sizeof only accounts for the object itself.

  • Participants
  • Parent commits 1f6c23e

Comments (0)

Files changed (1)


    does not have to hold true for third-party extensions as it is implementation
+   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.