Mailing List Archive

gh-117360: Clearer wording in os.path.lexists() docs (#117679)
https://github.com/python/cpython/commit/73906d5c908c1e0b73c5436faeff7d93698fc074
commit: 73906d5c908c1e0b73c5436faeff7d93698fc074
branch: main
author: Nice Zombies <nineteendo19d0@gmail.com>
committer: erlend-aasland <erlend.aasland@protonmail.com>
date: 2024-04-09T23:00:41+02:00
summary:

gh-117360: Clearer wording in os.path.lexists() docs (#117679)

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 dcc877da0b3122..fcf4b6d68e018c 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -145,7 +145,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