[Python-checkins] r75033 - in python/branches/release26-maint: Doc/library/sys.rst

benjamin.peterson python-checkins at python.org
Wed Sep 23 00:30:03 CEST 2009


Author: benjamin.peterson
Date: Wed Sep 23 00:30:03 2009
New Revision: 75033
Log:
Merged revisions 75032 via svnmerge from 
svn+ssh://pythondev@svn.python.org/python/trunk
........
 r75032 | benjamin.peterson | 2009年09月22日 17:15:28 -0500 (2009年9月22日) | 1 line
 
 fix typos/rephrase
........
Modified:
 python/branches/release26-maint/ (props changed)
 python/branches/release26-maint/Doc/library/sys.rst
Modified: python/branches/release26-maint/Doc/library/sys.rst
==============================================================================
--- python/branches/release26-maint/Doc/library/sys.rst	(original)
+++ python/branches/release26-maint/Doc/library/sys.rst	Wed Sep 23 00:30:03 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

AltStyle によって変換されたページ (->オリジナル) /