We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 3788818 commit b432a4bCopy full SHA for b432a4b
docs/reference/stdlib/set.rst
@@ -544,7 +544,7 @@ Sets
544
545
.. index:: cardinality, singleton
546
547
- Checks that the input set contains no more than one element.
+ Checks that the input set has exactly zero or one elements.
548
549
If the input set contains more than one element, ``assert_single`` raises
550
a ``CardinalityViolationError``. Otherwise, this function returns the
0 commit comments