]> granicus.if.org Git - python/commitdiff
Merged revisions 75032 via svnmerge from
authorBenjamin Peterson <benjamin@python.org>
Tue, 22 Sep 2009 22:30:03 +0000 (22:30 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 22 Sep 2009 22:30:03 +0000 (22:30 +0000)
svn+ssh://pythondev@svn.python.org/python/trunk

........
  r75032 | benjamin.peterson | 2009-09-22 17:15:28 -0500 (Tue, 22 Sep 2009) | 1 line

  fix typos/rephrase
........

Doc/library/sys.rst

index e1dedd6768abcc360f367cfffece4e5d05dc50d2..797583d0e7f8d7aebd97fd65258319d9d0b0e624 100644 (file)
@@ -400,12 +400,12 @@ always available.
    does not have to hold true for third-party extensions as it is implementation
    specific.
 
-   The *default* argument allows to define a value which will be returned
-   if the object type does not provide means to retrieve the size and would
-   cause a `TypeError`.
+   If given, *default* will be returned if the object does not provide means to
+   retrieve the size.  Otherwise a `TypeError` will be raised.
 
-   :func:`getsizeof` calls the object's __sizeof__ method and adds an additional
-   garbage collector overhead if the object is managed by the garbage collector.
+   :func:`getsizeof` calls the object's ``__sizeof__`` method and adds an
+   additional garbage collector overhead if the object is managed by the garbage
+   collector.
 
    .. versionadded:: 2.6