summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKexuan Sun <me@kianasun.com>2019-09-13 06:01:02 -0700
committerStéphane Wirtel <stephane@wirtel.be>2019-09-13 14:01:02 +0100
commit53f78ec9e181f544b1a4575f32d42e296e05e4b4 (patch)
treeaa54cb93658767eec7c317a593d43c3274d7cdf1
parent9eb35ab0d71a6bd680e84fa0f828cb634e72b681 (diff)
downloadcpython-git-53f78ec9e181f544b1a4575f32d42e296e05e4b4.tar.gz
Doc: Improve consistency of os.path.normcase with other os.path functions (GH-14004)
-rw-r--r--Doc/library/os.path.rst2
1 files changed, 0 insertions, 2 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 640ceecbc7..a5abacf021 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -328,8 +328,6 @@ the :mod:`glob` module.)
Normalize the case of a pathname. On Windows, convert all characters in the
pathname to lowercase, and also convert forward slashes to backward slashes.
On other operating systems, return the path unchanged.
- Raise a :exc:`TypeError` if the type of *path* is not ``str`` or ``bytes`` (directly
- or indirectly through the :class:`os.PathLike` interface).
.. versionchanged:: 3.6
Accepts a :term:`path-like object`.