mirror of
https://github.com/python/cpython.git
synced 2025-07-24 03:35:53 +00:00
GH-97950: Use new-style index directive ('object') (#104158)
* Uncomment object removal in pairindextypes * Use new-style index directive ('object') - C API * Use new-style index directive ('object') - Library * Use new-style index directive ('object') - Reference * Use new-style index directive ('object') - Tutorial
This commit is contained in:
parent
b0ce2db118
commit
6ab463684b
31 changed files with 143 additions and 143 deletions
|
@ -344,7 +344,7 @@ list objects have methods called append, insert, remove, sort, and so on.
|
|||
However, in the following discussion, we'll use the term method exclusively to
|
||||
mean methods of class instance objects, unless explicitly stated otherwise.)
|
||||
|
||||
.. index:: object: method
|
||||
.. index:: pair: object; method
|
||||
|
||||
Valid method names of an instance object depend on its class. By definition,
|
||||
all attributes of a class that are function objects define corresponding
|
||||
|
|
|
@ -286,7 +286,7 @@ Reading and Writing Files
|
|||
|
||||
.. index::
|
||||
builtin: open
|
||||
object: file
|
||||
pair: object; file
|
||||
|
||||
:func:`open` returns a :term:`file object`, and is most commonly used with
|
||||
two positional arguments and one keyword argument:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue