[Python-checkins] r75032 - python/trunk/Doc/library/sys.rst
benjamin.peterson
python-checkins at python.org
Wed Sep 23 00:15:29 CEST 2009
Author: benjamin.peterson
Date: Wed Sep 23 00:15:28 2009
New Revision: 75032
Log:
fix typos/rephrase
Modified:
python/trunk/Doc/library/sys.rst
Modified: python/trunk/Doc/library/sys.rst
==============================================================================
--- python/trunk/Doc/library/sys.rst (original)
+++ python/trunk/Doc/library/sys.rst Wed Sep 23 00:15:28 2009
@@ -400,12 +400,12 @@
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
More information about the Python-checkins
mailing list