Skip to content

Commit 3d42a69

Browse files
authored
doc: fix typo in attrs.validators.gt's docstring: ge -> gt (#1423)
Replace operator.ge -> operator.gt, to fix a likely copy-paste error.
1 parent 55c688a commit 3d42a69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/attr/validators.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -485,7 +485,7 @@ def gt(val):
485485
A validator that raises `ValueError` if the initializer is called with a
486486
number smaller or equal to *val*.
487487
488-
The validator uses `operator.ge` to compare the values.
488+
The validator uses `operator.gt` to compare the values.
489489
490490
Args:
491491
val: Exclusive lower bound for values

0 commit comments

Comments
 (0)