Mailing List Archive

[3.12] gh-117360: Clearer wording in os.path.lexists() docs (GH-117679) (#117701)
https://github.com/python/cpython/commit/559b25fcc82d476bbab96cac7d67a253c4ed0ed9
commit: 559b25fcc82d476bbab96cac7d67a253c4ed0ed9
branch: 3.12
author: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
committer: erlend-aasland <erlend.aasland@protonmail.com>
date: 2024-04-09T21:11:07Z
summary:

[3.12] gh-117360: Clearer wording in os.path.lexists() docs (GH-117679) (#117701)

(cherry picked from commit 73906d5c908c1e0b73c5436faeff7d93698fc074)

Co-authored-by: Nice Zombies <nineteendo19d0@gmail.com>
Co-authored-by: Zachary Ware <zach@python.org>

files:
M Doc/library/os.path.rst

diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 6f9e0853bc8947..6cb227533ebb94 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -144,7 +144,7 @@ the :mod:`glob` module.)

.. function:: lexists(path)

- Return ``True`` if *path* refers to an existing path. Returns ``True`` for
+ Return ``True`` if *path* refers to an existing path, including
broken symbolic links. Equivalent to :func:`exists` on platforms lacking
:func:`os.lstat`.


_______________________________________________
Python-checkins mailing list -- python-checkins@python.org
To unsubscribe send an email to python-checkins-leave@python.org
https://mail.python.org/mailman3/lists/python-checkins.python.org/
Member address: list-python-checkins@lists.gossamer-threads.com