GH-97950: Use new-style index directive ('builtin') (#104164)

* Uncomment builtin removal in pairindextypes

* Use new-style index directive ('builtin') - C API

* Use new-style index directive ('builtin') - Extending

* Use new-style index directive ('builtin') - Library

* Use new-style index directive ('builtin') - Reference

* Use new-style index directive ('builtin') - Tutorial
This commit is contained in:
Adam Turner 2023-05-06 04:54:08 +01:00 committed by GitHub
parent 4cd95dce0b
commit f5088006ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
23 changed files with 77 additions and 77 deletions

View file

@ -285,7 +285,7 @@ Reading and Writing Files
=========================
.. index::
builtin: open
pair: built-in function; open
pair: object; file
:func:`open` returns a :term:`file object`, and is most commonly used with

View file

@ -24,7 +24,7 @@ Be sure to use the ``import os`` style instead of ``from os import *``. This
will keep :func:`os.open` from shadowing the built-in :func:`open` function which
operates much differently.
.. index:: builtin: help
.. index:: pair: built-in function; help
The built-in :func:`dir` and :func:`help` functions are useful as interactive
aids for working with large modules like :mod:`os`::