summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2009-09-22 22:15:28 (GMT)
committerBenjamin Peterson <benjamin@python.org>2009-09-22 22:15:28 (GMT)
commitca66cb5ce0a8c8cfd3432c1ee3128e2149c30995 (patch)
tree1001ee51bbc6a0c80c62f982c88634180ff03d59
parent2f75572f442e635b9bfb5e78134305e5fb314fe7 (diff)
downloadcpython-ca66cb5ce0a8c8cfd3432c1ee3128e2149c30995.zip
cpython-ca66cb5ce0a8c8cfd3432c1ee3128e2149c30995.tar.gz
cpython-ca66cb5ce0a8c8cfd3432c1ee3128e2149c30995.tar.bz2
fix typos/rephrase
-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 2b9a679..b491c78 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