File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -6,11 +6,11 @@ What is an Interface?
6
6
7
7
In software generally, an **interface ** is a description of the
8
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.
9
+ Python, interfaces are often defined by a collection of **method signatures **
10
+ which must be provided by a class.
11
11
12
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
13
+ that defines one or more methods with empty bodies. For example, the interface
14
14
definition for a simple `Key-Value Store `_ might look like this:
15
15
16
16
.. code-block :: python
You can’t perform that action at this time.
0 commit comments