From: Martin Panter Date: Tue, 17 Nov 2015 22:13:47 +0000 (+0000) Subject: Issue #20468: Remove incorrect information about maxrss and page size X-Git-Tag: v3.5.1rc1~26^2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f8f66eb985c932414832c76fad862651a47471ec;p=thirdparty%2FPython%2Fcpython.git Issue #20468: Remove incorrect information about maxrss and page size Extract of patch by Ronald Oussoren. --- diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index 7c0e4caf75ac..a7b229e98aab 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.