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
This commit is contained in:
Adam Turner 2023-05-04 09:17:12 +01:00 committed by GitHub
parent cd9a56c2b0
commit d0122372f2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
33 changed files with 65 additions and 69 deletions

View file

@ -466,7 +466,7 @@ Reference for a complete guide to file objects.
Saving structured data with :mod:`json`
---------------------------------------
.. index:: module: json
.. index:: pair: module; json
Strings can easily be written to and read from a file. Numbers take a bit more
effort, since the :meth:`read` method only returns strings, which will have to

View file

@ -264,7 +264,7 @@ Some tips for experts:
Standard Modules
================
.. index:: module: sys
.. index:: pair: module; sys
Python comes with a library of standard modules, described in a separate
document, the Python Library Reference ("Library Reference" hereafter). Some
@ -345,7 +345,7 @@ Without arguments, :func:`dir` lists the names you have defined currently::
Note that it lists all types of names: variables, modules, functions, etc.
.. index:: module: builtins
.. index:: pair: module; builtins
:func:`dir` does not list the names of built-in functions and variables. If you
want a list of those, they are defined in the standard module