Skip to content

Commit

Permalink
DOC: Don't use "list" as generic term for set.
Browse files Browse the repository at this point in the history
  • Loading branch information
Scott Sanderson committed Sep 5, 2018
1 parent 56abb10 commit adcd090
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions docs/why.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ What is an Interface?

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

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

.. code-block:: python
Expand Down

0 comments on commit adcd090

Please sign in to comment.