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: v2.7.11rc1~11 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=793ae0d0ae02ce91c626472ca2b3e2f8d4d6229a;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 7ca45347f114..f6d60588185a 100644 --- a/Doc/library/resource.rst +++ b/Doc/library/resource.rst @@ -223,10 +223,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.