]> granicus.if.org Git - python/commitdiff
Issue #20468: Remove incorrect information about maxrss and page size
authorMartin Panter <vadmium+py@gmail.com>
Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)
committerMartin Panter <vadmium+py@gmail.com>
Tue, 17 Nov 2015 22:13:47 +0000 (22:13 +0000)
Extract of patch by Ronald Oussoren.

Doc/library/resource.rst

index 7ca45347f114a56fa352a204ed4848c07920f0db..f6d60588185a920f7bd65bcf1d940d201acb91ac 100644 (file)
@@ -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.