Use a better docstring for NonNegativeInteger.

This commit is contained in:
James Vega 2004-09-03 13:51:06 +00:00
parent ff88488420
commit 8cc4a98d9e

View File

@ -332,7 +332,7 @@ class Integer(Value):
self.error() self.error()
class NonNegativeInteger(Integer): class NonNegativeInteger(Integer):
"""Value must not be negative.""" """Value must be a non-negative integer."""
def setValue(self, v): def setValue(self, v):
if v < 0: if v < 0:
self.error() self.error()