mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-24 11:42:52 +01:00
Use a better docstring for NonNegativeInteger.
This commit is contained in:
parent
ff88488420
commit
8cc4a98d9e
@ -332,7 +332,7 @@ class Integer(Value):
|
||||
self.error()
|
||||
|
||||
class NonNegativeInteger(Integer):
|
||||
"""Value must not be negative."""
|
||||
"""Value must be a non-negative integer."""
|
||||
def setValue(self, v):
|
||||
if v < 0:
|
||||
self.error()
|
||||
|
Loading…
Reference in New Issue
Block a user