summaryrefslogtreecommitdiffstats
path: root/Doc/library/os.path.rst
diff options
context:
space:
mode:
authorAdam Turner <9087854+AA-Turner@users.noreply.github.com>2023-05-04 08:17:12 (GMT)
committerGitHub <noreply@github.com>2023-05-04 08:17:12 (GMT)
commitd0122372f2acb4cc56b89ab8c577ff9039d17d89 (patch)
treef50db57b34be236de4b6c7a829897d932468fbaf /Doc/library/os.path.rst
parentcd9a56c2b0e14f56f2e83dd4db43c5c69a74b232 (diff)
downloadcpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.zip
cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.gz
cpython-d0122372f2acb4cc56b89ab8c577ff9039d17d89.tar.bz2
GH-97950: Use new-style index directive ('module') (#103996)
* Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference * Use new-style index directive ('module') - Tutorial * Uncomment module removal in pairindextypes * Use new-style index directive ('module') - C API * Use new-style index directive ('module') - Library * Use new-style index directive ('module') - Reference
Diffstat (limited to 'Doc/library/os.path.rst')
-rw-r--r--Doc/library/os.path.rst2
1 files changed, 1 insertions, 1 deletions
diff --git a/Doc/library/os.path.rst b/Doc/library/os.path.rst
index 96bcb48..7881c52 100644
--- a/Doc/library/os.path.rst
+++ b/Doc/library/os.path.rst
@@ -159,7 +159,7 @@ the :mod:`glob` module.)
On Unix and Windows, return the argument with an initial component of ``~`` or
``~user`` replaced by that *user*'s home directory.
- .. index:: module: pwd
+ .. index:: pair: module; pwd
On Unix, an initial ``~`` is replaced by the environment variable :envvar:`HOME`
if it is set; otherwise the current user's home directory is looked up in the