From ca7b587f0d0b6f7c99d3e8b0378925d89b46fc2e Mon Sep 17 00:00:00 2001 From: Jean-Paul Calderone <exarkun@twistedmatrix.com> Date: Thu, 28 May 2020 09:12:12 -0400 Subject: [PATCH] slightly nicer `_get_passes` docs --- src/_zkapauthorizer/_storage_client.py | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/src/_zkapauthorizer/_storage_client.py b/src/_zkapauthorizer/_storage_client.py index 792bb47..b9a011c 100644 --- a/src/_zkapauthorizer/_storage_client.py +++ b/src/_zkapauthorizer/_storage_client.py @@ -227,11 +227,11 @@ class ZKAPAuthorizerStorageClient(object): valid ``RemoteReference`` corresponding to the server-side object for this scheme. - :ivar _get_passes: A two-argument callable which retrieves some passes - which can be used to authorize an operation. The first argument is a - bytes (valid utf-8) message binding the passes to the request for - which they will be used. The second is an integer giving the number - of passes to request. + :ivar (bytes -> int -> IPassGroup) _get_passes: A callable to use to + retrieve passes which can be used to authorize an operation. The + first argument is utf-8 encoded message binding the passes to the + request for which they will be used. The second gives the number of + passes to request. """ _expected_remote_interface_name = ( "RIPrivacyPassAuthorizedStorageServer.tahoe.privatestorage.io" -- GitLab