summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 640ceec..a5abacf 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`.