Issue #2898: Added sys.getsizeof() to retrieve size of objects in bytes.
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 390f73d..2e39633 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -409,6 +409,16 @@
    :func:`setrecursionlimit`.
 
 
+.. function:: getsizeof(object)
+
+   Return the size of an object in bytes. The object can be any type of
+   object. All built-in objects will return correct results, but this
+   does not have to hold true for third-party extensions as it is implementation 
+   specific.
+
+   .. versionadded:: 2.6
+
+
 .. function:: _getframe([depth])
 
    Return a frame object from the call stack.  If optional integer *depth* is