summaryrefslogtreecommitdiffstats
path: root/Doc/library/resource.rst
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-17 22:13:47 (GMT)
committerMartin Panter <vadmium+py@gmail.com>2015-11-17 22:13:47 (GMT)
commitf8f66eb985c932414832c76fad862651a47471ec (patch)
tree7b1355822e4e1fab72af14178e1496b165da962d /Doc/library/resource.rst
parent5d7e3b6cd208dffdfe8530664081b62e0c7e3092 (diff)
downloadcpython-f8f66eb985c932414832c76fad862651a47471ec.zip
cpython-f8f66eb985c932414832c76fad862651a47471ec.tar.gz
cpython-f8f66eb985c932414832c76fad862651a47471ec.tar.bz2
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
Diffstat (limited to 'Doc/library/resource.rst')
-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.