diff --git a/postgres/__init__.py b/postgres/__init__.py index 9c529e8..7ff844d 100644 --- a/postgres/__init__.py +++ b/postgres/__init__.py @@ -387,7 +387,8 @@ def one(self, sql, parameters=None, default=None, back_as=None, *a, **kw): :returns: a single record or value or the value of the :py:attr:`default` argument :raises: :py:exc:`~postgres.TooFew` or :py:exc:`~postgres.TooMany` - or `default` (if `default` is an `Exception` subclass or instance) + or :py:attr:`default` (if :py:attr:`default` is an + :py:class:`Exception` subclass or instance) .. _bind parameters: #bind-parameters