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.rst2
1 files changed, 2 insertions, 0 deletions
diff --git a/Doc/library/os.rst b/Doc/library/os.rst
index 0fd4094..14ad8f9 100644
--- a/Doc/library/os.rst
+++ b/Doc/library/os.rst
@@ -694,6 +694,8 @@ Files and Directories
.. function:: getcwd()
Return a string representing the current working directory.
+ May raise UnicodeDecodeError if the current directory path fails
+ to decode in the file system encoding.
Availability: Unix, Windows.