Skip to content

Commit adcd090

Browse files
author
Scott Sanderson
committed
DOC: Don't use "list" as generic term for set.
1 parent 56abb10 commit adcd090

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

docs/why.rst

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,11 @@ What is an Interface?
66

77
In software generally, an **interface** is a description of the
88
**capabilities** provided by a unit of code. In object-oriented languages like
9-
Python, interfaces are often defined by lists of **method signatures** which
10-
must be provided by a class.
9+
Python, interfaces are often defined by a collection of **method signatures**
10+
which must be provided by a class.
1111

1212
In :mod:`interface`, an interface is a subclass of :class:`interface.Interface`
13-
that defines a list of methods with empty bodies. For example, the interface
13+
that defines one or more methods with empty bodies. For example, the interface
1414
definition for a simple `Key-Value Store`_ might look like this:
1515

1616
.. code-block:: python

0 commit comments

Comments
 (0)