mirror of
https://github.com/python/cpython.git
synced 2025-08-01 07:33:08 +00:00
fix typos/rephrase
This commit is contained in:
parent
2f75572f44
commit
ca66cb5ce0
1 changed files with 5 additions and 5 deletions
|
@ -400,12 +400,12 @@ always available.
|
||||||
does not have to hold true for third-party extensions as it is implementation
|
does not have to hold true for third-party extensions as it is implementation
|
||||||
specific.
|
specific.
|
||||||
|
|
||||||
The *default* argument allows to define a value which will be returned
|
If given, *default* will be returned if the object does not provide means to
|
||||||
if the object type does not provide means to retrieve the size and would
|
retrieve the size. Otherwise a `TypeError` will be raised.
|
||||||
cause a `TypeError`.
|
|
||||||
|
|
||||||
:func:`getsizeof` calls the object's __sizeof__ method and adds an additional
|
:func:`getsizeof` calls the object's ``__sizeof__`` method and adds an
|
||||||
garbage collector overhead if the object is managed by the garbage collector.
|
additional garbage collector overhead if the object is managed by the garbage
|
||||||
|
collector.
|
||||||
|
|
||||||
.. versionadded:: 2.6
|
.. versionadded:: 2.6
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue