summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Panter <vadmium+py@gmail.com>2015-11-17 22:26:23 +0000
committerMartin Panter <vadmium+py@gmail.com>2015-11-17 22:26:23 +0000
commitacec450bfd389242b661aa87a9351f5870dd4f57 (patch)
treefb526b2a71890ea41350ead8129829be1cf29477
parent4990289bbf6d51130855fd0a54c3726f60ee9fdf (diff)
parentce19839961bcac19ad0f15ced9089a2eda3f3301 (diff)
downloadcpython-git-acec450bfd389242b661aa87a9351f5870dd4f57.tar.gz
Issue #20468: Merge getpagesize doc from 3.5
-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 7c0e4caf75..a7b229e98a 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.