mirror of
https://github.com/python/cpython.git
synced 2025-07-23 19:25:40 +00:00
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:
parent
cd9a56c2b0
commit
d0122372f2
33 changed files with 65 additions and 69 deletions
|
@ -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
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue