From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Wed, 20 Apr 2022 04:17:34 +0000 (-0700) Subject: Add link to sys.path in os lib (GH-91679) X-Git-Tag: v3.10.5~162 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=8299e24d4caa392664648fc5c65f4e56a40d6d46;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 203995c80fd3..dbd3c968dd35 100644 --- a/Doc/library/os.rst +++ b/Doc/library/os.rst @@ -3546,8 +3546,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.