summaryrefslogtreecommitdiff
path: root/passlib/utils
diff options
context:
space:
mode:
Diffstat (limited to 'passlib/utils')
-rw-r--r--passlib/utils/__init__.py6
1 files changed, 3 insertions, 3 deletions
diff --git a/passlib/utils/__init__.py b/passlib/utils/__init__.py
index ac82055..d2c4d8c 100644
--- a/passlib/utils/__init__.py
+++ b/passlib/utils/__init__.py
@@ -113,8 +113,8 @@ Undef = UndefType()
NoneType = type(None)
class MissingBackendError(RuntimeError):
- """error raised if multi-backend handler has no backends;
- or specific backend not available.
+ """error raised if multi-backend handler has no available backends;
+ or if specifically requested backend is not available.
see :class:`~passlib.utils.handlers.HasManyBackends`.
"""
@@ -280,7 +280,7 @@ def is_crypt_handler(obj):
))
def is_crypt_context(obj):
- "check if object follows :class:`CryptContext` interface"
+ "check if object appears to be a :class:`~passlib.context.CryptContext` instance"
return all(hasattr(obj, name) for name in (
"hash_needs_update",
"genconfig", "genhash",