[issue20468] resource module documentation is incorrect
Martin Panter
report at bugs.python.org
Tue Nov 17 17:07:01 EST 2015
Martin Panter added the comment:
Python’s getrusage() calls the C-level getrusage() function. Man pages for reference:
http://man7.org/linux/man-pages/man2/getrusage.2.html
https://www.freebsd.org/cgi/man.cgi?query=getrusage&sektion=2
https://developer.apple.com/library/mac/documentation/Darwin/Reference/ManPages/man2/getrusage.2.html
I find “kilobytes” ambiguous, since it probably means “kibibytes”, multiples of 1024 bytes, rather than 1000 bytes. Maybe it would be best to just say the unit varies by platform, and let the user check the manuals themself.
I agree about dropping the text from getpagesize() though.
----------
nosy: +martin.panter
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue20468>
_______________________________________
More information about the Python-bugs-list
mailing list