diff options
author | Martin Panter <vadmium+py@gmail.com> | 2015-11-17 22:13:47 (GMT) |
---|---|---|
committer | Martin Panter <vadmium+py@gmail.com> | 2015-11-17 22:13:47 (GMT) |
commit | 793ae0d0ae02ce91c626472ca2b3e2f8d4d6229a (patch) | |
tree | cba054db1e6ea13d33e17e026f1249d2ce1351ba | |
parent | a5d1cf3221514733782f65100c89f2565cc1f3e1 (diff) | |
download | cpython-793ae0d0ae02ce91c626472ca2b3e2f8d4d6229a.zip cpython-793ae0d0ae02ce91c626472ca2b3e2f8d4d6229a.tar.gz cpython-793ae0d0ae02ce91c626472ca2b3e2f8d4d6229a.tar.bz2 |
Issue #20468: Remove incorrect information about maxrss and page size
Extract of patch by Ronald Oussoren.
-rw-r--r-- | Doc/library/resource.rst | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index 7ca4534..f6d6058 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. |