diff options
author | Benjamin Peterson <benjamin@python.org> | 2011-12-10 17:50:22 -0500 |
---|---|---|
committer | Benjamin Peterson <benjamin@python.org> | 2011-12-10 17:50:22 -0500 |
commit | db68c98b529acca9be6e1aa4398ead8a23b11dbe (patch) | |
tree | e801cc2e1510f5c9e7b86236de5edca8dbe366bf /Doc/library/resource.rst | |
parent | 62dfef85b3f381ee1e3581f4642b088376e3df65 (diff) | |
download | cpython-db68c98b529acca9be6e1aa4398ead8a23b11dbe.tar.gz |
alias resource.error to OSError
Diffstat (limited to 'Doc/library/resource.rst')
-rw-r--r-- | Doc/library/resource.rst | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/Doc/library/resource.rst b/Doc/library/resource.rst index c16b01301e..03a7cb598c 100644 --- a/Doc/library/resource.rst +++ b/Doc/library/resource.rst @@ -14,13 +14,15 @@ resources utilized by a program. Symbolic constants are used to specify particular system resources and to request usage information about either the current process or its children. -A single exception is defined for errors: +An :exc:`OSError` is raised on syscall failure. .. exception:: error - The functions described below may raise this error if the underlying system call - failures unexpectedly. + A deprecated alias of :exc:`OSError`. + + .. versionchanged:: 3.3 + Following :pep:`3151`, this class was made an alias of :exc:`OSError`. Resource Limits |