Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Use new-style index directive ('object') - Tutorial
  • Loading branch information
AA-Turner committed May 4, 2023
commit 360dce096721f7c896efc731538c36ac9b547aa5
2 changes: 1 addition & 1 deletion Doc/tutorial/classes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion Doc/tutorial/inputoutput.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down