From: Benjamin Peterson Date: Tue, 22 Sep 2009 22:15:28 +0000 (+0000) Subject: fix typos/rephrase X-Git-Tag: v2.7a1~466 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=ca66cb5ce0a8c8cfd3432c1ee3128e2149c30995;p=python fix typos/rephrase --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 2b9a679230..b491c7833b 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -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