summaryrefslogtreecommitdiffstats
path: root/Doc
diff options
context:
space:
mode:
authorEzio Melotti <ezio.melotti@gmail.com>2010-06-25 10:56:11 (GMT)
committerEzio Melotti <ezio.melotti@gmail.com>2010-06-25 10:56:11 (GMT)
commit5a3ef5b22af607666111c76764db0efffbef82be (patch)
tree68e3601264f88350017f6bd0a77c9b46b0237e52 /Doc
parent6186bfb735c90c22035d8b29a0e97ae39bd12d5b (diff)
downloadcpython-5a3ef5b22af607666111c76764db0efffbef82be.zip
cpython-5a3ef5b22af607666111c76764db0efffbef82be.tar.gz
cpython-5a3ef5b22af607666111c76764db0efffbef82be.tar.bz2
#9018: os.path.normcase() now raises a TypeError if the argument is not str or bytes.
Diffstat (limited to 'Doc')
-rw-r--r--Doc/library/os.path.rst1
1 files changed, 1 insertions, 0 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 8c720bf..c838983 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -201,6 +201,7 @@ applications should use string objects to access all files.
Normalize the case of a pathname. On Unix and Mac OS X, this returns the
path unchanged; on case-insensitive filesystems, it converts the path to
lowercase. On Windows, it also converts forward slashes to backward slashes.
+ Raise a TypeError if the type of *path* is not ``str`` or ``bytes``.
.. function:: normpath(path)