summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorGeorg Brandl <georg@python.org>2008-10-08 16:34:57 (GMT)
committerGeorg Brandl <georg@python.org>2008-10-08 16:34:57 (GMT)
commit76e5538749947eaf5fbf6487805d004ea244b941 (patch)
tree23199c49714ab96b7ef12e4825b9cd55bf7cf73c /Doc/library/os.path.rst
parentbcbfa645392fcbaf67a435577debfb7c2699aed0 (diff)
downloadcpython-76e5538749947eaf5fbf6487805d004ea244b941.zip
cpython-76e5538749947eaf5fbf6487805d004ea244b941.tar.gz
cpython-76e5538749947eaf5fbf6487805d004ea244b941.tar.bz2
Some more notes about bytes/string filename APIs.
Diffstat (limited to 'Doc/library/os.path.rst')
-rw-r--r--Doc/library/os.path.rst6
1 files changed, 6 insertions, 0 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 71eeb53..795c9bc 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -19,6 +19,12 @@ path names. Vice versa, using bytes objects cannot represent all file
names on Windows (in the standard ``mbcs`` encoding), hence Windows
applications should use string objects to access all files.
+.. note::
+
+ All of these functions accept either only bytes or only string objects as
+ their parameters. The result is an object of the same type, if a path or
+ file name is returned.
+
.. warning::
On Windows, many of these functions do not properly support UNC pathnames.