[Python-checkins] cpython (2.7): Issue #20468: Remove incorrect information about maxrss and page size

martin.panter python-checkins at python.org
Tue Nov 17 17:43:20 EST 2015


https://hg.python.org/cpython/rev/58d017d70563
changeset:   99195:58d017d70563
branch:      2.7
parent:      99180:fa4f0096b719
user:        Martin Panter <vadmium+py at gmail.com>
date:        Tue Nov 17 22:13:47 2015 +0000
summary:
  Issue #20468: Remove incorrect information about maxrss and page size

Extract of patch by Ronald Oussoren.

files:
  Doc/library/resource.rst |  5 +----
  1 files changed, 1 insertions(+), 4 deletions(-)


diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst
--- a/Doc/library/resource.rst
+++ b/Doc/library/resource.rst
@@ -223,10 +223,7 @@
 .. function:: getpagesize()
 
    Returns the number of bytes in a system page. (This need not be the same as the
-   hardware page size.) This function is useful for determining the number of bytes
-   of memory a process is using. The third element of the tuple returned by
-   :func:`getrusage` describes memory usage in pages; multiplying by page size
-   produces number of bytes.
+   hardware page size.)
 
 The following :const:`RUSAGE_\*` symbols are passed to the :func:`getrusage`
 function to specify which processes information should be provided for.

-- 
Repository URL: https://hg.python.org/cpython


More information about the Python-checkins mailing list