summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.rst
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library/os.rst')
-rw-r--r--Doc/library/os.rst3
1 files changed, 2 insertions, 1 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 55e007a..951474f 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -274,7 +274,8 @@ process and user.
.. function:: strerror(code)
Return the error message corresponding to the error code in *code*.
- Availability: Unix, Windows.
+ On platforms where :cfunc:`strerror` returns ``NULL`` when given an unknown
+ error number, :exc:`ValueError` is raised. Availability: Unix, Windows.
.. function:: umask(mask)