summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 0790f64..b2d8f80 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -285,7 +285,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)