diff --git a/docs/api.rst b/docs/api.rst index c8ab29a41..42b87f7a7 100644 --- a/docs/api.rst +++ b/docs/api.rst @@ -378,7 +378,7 @@ All objects from ``attrs.validators`` are also available from ``attr.validators` >>> C(41) Traceback (most recent call last): ... - ValueError: ("'x' must be => 42: 41") + ValueError: ("'x' must be >= 42: 41") .. autofunction:: attrs.validators.gt @@ -442,7 +442,7 @@ All objects from ``attrs.validators`` are also available from ``attr.validators` >>> C("") Traceback (most recent call last): ... - ValueError: ("Length of 'x' must be => 1: 0") + ValueError: ("Length of 'x' must be >= 1: 0") .. autofunction:: attrs.validators.instance_of