summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-22 22:30:03 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-22 22:30:03 (GMT)
commit751c203862c4ec78ab04fcd01c6491e23cb09129 (patch)
tree5d3944a27a972f5297741ccbe8764ecab070aa5c /Doc/library
parente0789ac0c9156e7d2921bd1e23b897ca8d86dcdb (diff)
downloadcpython-751c203862c4ec78ab04fcd01c6491e23cb09129.zip
cpython-751c203862c4ec78ab04fcd01c6491e23cb09129.tar.gz
cpython-751c203862c4ec78ab04fcd01c6491e23cb09129.tar.bz2
Merged revisions 75032 via svnmerge from
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 ........
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/sys.rst10
1 files changed, 5 insertions, 5 deletions
diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index e1dedd6..797583d 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