summaryrefslogtreecommitdiff
path: root/Doc/library/resource.rst
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-10 17:50:22 -0500
committerBenjamin Peterson <benjamin@python.org>2011-12-10 17:50:22 -0500
commitdb68c98b529acca9be6e1aa4398ead8a23b11dbe (patch)
treee801cc2e1510f5c9e7b86236de5edca8dbe366bf /Doc/library/resource.rst
parent62dfef85b3f381ee1e3581f4642b088376e3df65 (diff)
downloadcpython-db68c98b529acca9be6e1aa4398ead8a23b11dbe.tar.gz
alias resource.error to OSError
Diffstat (limited to 'Doc/library/resource.rst')
-rw-r--r--Doc/library/resource.rst8
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