We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent adcd090 commit b329e97Copy full SHA for b329e97
docs/why.rst
@@ -18,10 +18,17 @@ definition for a simple `Key-Value Store`_ might look like this:
18
class KeyValueStore(interface.Interface):
19
20
def get(self, key):
21
- pass
+ """Get the value for ``key``.
22
+ """
23
24
def set(self, key, value):
25
+ """Set the value for ``key`` to ``value``.
26
27
+
28
+ def delete(self, key):
29
+ """Delete the value for ``key``.
30
31
32
33
Why Are Interfaces Useful?
34
~~~~~~~~~~~~~~~~~~~~~~~~~~
0 commit comments