We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 56abb10 commit adcd090Copy full SHA for adcd090
1 file changed
docs/why.rst
@@ -6,11 +6,11 @@ What is an Interface?
6
7
In software generally, an **interface** is a description of the
8
**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.
+Python, interfaces are often defined by a collection of **method signatures**
+which must be provided by a class.
11
12
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
+that defines one or more methods with empty bodies. For example, the interface
14
definition for a simple `Key-Value Store`_ might look like this:
15
16
.. code-block:: python
0 commit comments