]> granicus.if.org Git - python/commitdiff
fix typos/rephrase
authorBenjamin Peterson <benjamin@python.org>
Tue, 22 Sep 2009 22:15:28 +0000 (22:15 +0000)
committerBenjamin Peterson <benjamin@python.org>
Tue, 22 Sep 2009 22:15:28 +0000 (22:15 +0000)
Doc/library/sys.rst

index 2b9a6792301d0096e4564627203114b98c7806d5..b491c7833bb7867689d457a6d643383dda949275 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