[Python-checkins] cpython (merge 3.5 -> default): Issue #20468: Merge getpagesize doc from 3.5

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


https://hg.python.org/cpython/rev/007dfc0ef1be
changeset:   99194:007dfc0ef1be
parent:      99191:8312e257cb18
parent:      99193:1579de0b72f6
user:        Martin Panter <vadmium+py at gmail.com>
date:        Tue Nov 17 22:26:23 2015 +0000
summary:
  Issue #20468: Merge getpagesize doc from 3.5

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
@@ -316,10 +316,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