summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-17 22:23:21 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-17 22:23:21 (GMT)
commitce19839961bcac19ad0f15ced9089a2eda3f3301 (patch)
tree87cf4ff2c362003c2230d74e8c001390f752400a /Doc
parent5498f2b6bf6d2ff7a1575a7a07ca1175f8226853 (diff)
parentf8f66eb985c932414832c76fad862651a47471ec (diff)
downloadcpython-ce19839961bcac19ad0f15ced9089a2eda3f3301.zip
cpython-ce19839961bcac19ad0f15ced9089a2eda3f3301.tar.gz
cpython-ce19839961bcac19ad0f15ced9089a2eda3f3301.tar.bz2
Issue #20468: Merge getpagesize doc from 3.4 into 3.5
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/resource.rst5
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst
index 7c0e4ca..a7b229e 100644
--- a/Doc/library/resource.rst
+++ b/Doc/library/resource.rst
@@ -316,10 +316,7 @@ These functions are used to retrieve resource usage information:
.. 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.