From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 20 Apr 2022 04:17:55 +0000 (-0700) Subject: Add link to sys.path in os lib (GH-91679) X-Git-Tag: v3.9.13~97 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=6fd77aab4cb702be3bdd60c87f7bf0ee034f1062;p=thirdparty%2FPython%2Fcpython.git Add link to sys.path in os lib (GH-91679) (cherry picked from commit 692aea6f3823df48b7fc267ba0aa1ccc45ac606d) Co-authored-by: slateny <46876382+slateny@users.noreply.github.com> --- diff --git a/Doc/library/os.rst b/Doc/library/os.rst index 9dc49a203414..8e553d404100 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3319,8 +3319,8 @@ to be ignored. Add a path to the DLL search path. This search path is used when resolving dependencies for imported - extension modules (the module itself is resolved through sys.path), - and also by :mod:`ctypes`. + extension modules (the module itself is resolved through + :data:`sys.path`), and also by :mod:`ctypes`. Remove the directory by calling **close()** on the returned object or using it in a :keyword:`with` statement.