summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2011-12-10 22:50:22 (GMT)
committerBenjamin Peterson <benjamin@python.org>2011-12-10 22:50:22 (GMT)
commit2122cf717f963c956b4481ca31703bbf8e391397 (patch)
tree30351a4de4d819deaa471fbc42c83b0de3487813 /Doc
parentce2af335622a1371481fe7f410819d9df9f2ef5d (diff)
downloadcpython-2122cf717f963c956b4481ca31703bbf8e391397.zip
cpython-2122cf717f963c956b4481ca31703bbf8e391397.tar.gz
cpython-2122cf717f963c956b4481ca31703bbf8e391397.tar.bz2
alias resource.error to OSError
Diffstat (limited to 'Doc')
-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 c16b013..03a7cb5 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