mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-12-22 10:42:55 +01:00
Slightly better wording (and matches Float's wording)
This commit is contained in:
parent
0263eb95a8
commit
2fb7041627
@ -401,7 +401,7 @@ class Float(Value):
|
|||||||
self.error()
|
self.error()
|
||||||
|
|
||||||
class PositiveFloat(Float):
|
class PositiveFloat(Float):
|
||||||
"""Value must be a float-point number greater than zero."""
|
"""Value must be a floating-point number greater than zero."""
|
||||||
def setValue(self, v):
|
def setValue(self, v):
|
||||||
if v <= 0:
|
if v <= 0:
|
||||||
self.error()
|
self.error()
|
||||||
|
Loading…
Reference in New Issue
Block a user