diff options
author | Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> | 2019-09-13 13:07:48 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-09-13 13:07:48 (GMT) |
commit | 60d5e2c5a57aed4b5a8a82ae6e95fa67552e9fc9 (patch) | |
tree | f3731e7b8ed204be0769f8cdcdcd9fce8ee1a6b9 /Doc/library/os.path.rst | |
parent | 44cb89a78a308b7a613bdd01539ec84be914d693 (diff) | |
download | cpython-60d5e2c5a57aed4b5a8a82ae6e95fa67552e9fc9.zip cpython-60d5e2c5a57aed4b5a8a82ae6e95fa67552e9fc9.tar.gz cpython-60d5e2c5a57aed4b5a8a82ae6e95fa67552e9fc9.tar.bz2 |
Doc: Improve consistency of os.path.normcase with other os.path functions (GH-14004)
(cherry picked from commit 53f78ec9e181f544b1a4575f32d42e296e05e4b4)
Co-authored-by: Kexuan Sun <me@kianasun.com>
Diffstat (limited to 'Doc/library/os.path.rst')
-rw-r--r-- | Doc/library/os.path.rst | 2 |
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`. |