From 36f1a94aa7980461a0d765195943a858bbb33ca1 Mon Sep 17 00:00:00 2001 From: donBarbos Date: Sun, 27 Apr 2025 08:07:42 +0400 Subject: [PATCH 1/2] Change the heading of `sysconfig` CLI section --- Doc/library/sysconfig.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index 9f018f9c8f0e50..5c2b05183778e2 100644 --- a/Doc/library/sysconfig.rst +++ b/Doc/library/sysconfig.rst @@ -430,8 +430,8 @@ Other functions .. _sysconfig-cli: -Using :mod:`sysconfig` as a script ----------------------------------- +Command-line usage +------------------ You can use :mod:`sysconfig` as a script with Python's *-m* option: From ead56d8223454f617ed938bc5912d93ae7d8fafd Mon Sep 17 00:00:00 2001 From: donBarbos Date: Sun, 27 Apr 2025 16:12:32 +0400 Subject: [PATCH 2/2] Add old anchor --- Doc/library/sysconfig.rst | 1 + 1 file changed, 1 insertion(+) diff --git a/Doc/library/sysconfig.rst b/Doc/library/sysconfig.rst index 5c2b05183778e2..684d14a74c48ab 100644 --- a/Doc/library/sysconfig.rst +++ b/Doc/library/sysconfig.rst @@ -429,6 +429,7 @@ Other functions Return the path of :file:`Makefile`. .. _sysconfig-cli: +.. _using-sysconfig-as-a-script: Command-line usage ------------------