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

(cherry picked from commit 53f78ec9e1)

Co-authored-by: Kexuan Sun <me@kianasun.com>
This commit is contained in:
Miss Islington (bot) 2019-09-13 06:07:48 -07:00 committed by GitHub
parent 44cb89a78a
commit 60d5e2c5a5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 2 deletions

View File

@ -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`.