We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 44cb89a commit 60d5e2cCopy full SHA for 60d5e2c
Doc/library/os.path.rst
@@ -328,8 +328,6 @@ the :mod:`glob` module.)
328
Normalize the case of a pathname. On Windows, convert all characters in the
329
pathname to lowercase, and also convert forward slashes to backward slashes.
330
On other operating systems, return the path unchanged.
331
- Raise a :exc:`TypeError` if the type of *path* is not ``str`` or ``bytes`` (directly
332
- or indirectly through the :class:`os.PathLike` interface).
333
334
.. versionchanged:: 3.6
335
Accepts a :term:`path-like object`.
0 commit comments