mirror of https://github.com/Mikaela/Limnoria.git
Updated docstring.
This commit is contained in:
parent
9a71af37a6
commit
9ea98a5657
|
@ -414,7 +414,7 @@ class PositiveFloat(Float):
|
||||||
super(PositiveFloat, self).setValue(v)
|
super(PositiveFloat, self).setValue(v)
|
||||||
|
|
||||||
class Probability(Float):
|
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):
|
def __init__(self, *args, **kwargs):
|
||||||
self.__parent = super(Probability, self)
|
self.__parent = super(Probability, self)
|
||||||
self.__parent.__init__(*args, **kwargs)
|
self.__parent.__init__(*args, **kwargs)
|
||||||
|
|
Loading…
Reference in New Issue