more docstring

This commit is contained in:
meejah 2020-06-13 00:39:12 -06:00 committed by Sajith Sasidharan
parent 6fd0d61d5e
commit 835341f2c2

View File

@ -74,6 +74,10 @@ KNOWN_CAPABILITIES = [
def capability_generator(kind):
"""
Deterministically generates a streap of valid capabilities of the
given kind. The N, K and size values aren't related to anything
real.
:param str kind: the kind of capability, like `URI:CHK`
:returns: a generator that yields new capablities of a particular