Commit 53f78ec9 authored by Kexuan Sun's avatar Kexuan Sun Committed by Stéphane Wirtel

Doc: Improve consistency of os.path.normcase with other os.path functions (GH-14004)

parent 9eb35ab0
......@@ -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`.
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment