From b821df37e8b5c6a1f99753906fdc1cc94f1469c3 Mon Sep 17 00:00:00 2001 From: James Beith Date: Thu, 27 Aug 2026 14:21:37 +1000 Subject: [PATCH] Fix comparison operators in API docs error messages --- docs/api.rst | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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