mirror of
https://github.com/Mikaela/Limnoria.git
synced 2024-11-27 05:09:23 +01:00
Updated docstring.
This commit is contained in:
parent
9a71af37a6
commit
9ea98a5657
@ -414,7 +414,7 @@ class PositiveFloat(Float):
|
||||
super(PositiveFloat, self).setValue(v)
|
||||
|
||||
class Probability(Float):
|
||||
"""Value must be a floating point number in the range (0, 1]."""
|
||||
"""Value must be a floating point number in the range [0, 1]."""
|
||||
def __init__(self, *args, **kwargs):
|
||||
self.__parent = super(Probability, self)
|
||||
self.__parent.__init__(*args, **kwargs)
|
||||
|
Loading…
Reference in New Issue
Block a user