summaryrefslogtreecommitdiffstats
path: root/Doc/library
diff options
context:
space:
mode:
Diffstat (limited to 'Doc/library')
-rw-r--r--Doc/library/sysconfig.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst
index bb8e2d8..2de55d8 100644
--- a/Doc/library/sysconfig.rst
+++ b/Doc/library/sysconfig.rst
@@ -175,7 +175,7 @@ identifier. Python currently uses eight paths:
If *expand* is set to ``False``, the path will not be expanded using the
variables.
- If *name* is not found, return ``None``.
+ If *name* is not found, raise a :exc:`KeyError`.
.. function:: get_paths([scheme, [vars, [expand]]])