mirror of
https://github.com/Mikaela/Limnoria.git
synced 2025-10-12 14:57:25 +02:00
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…
x
Reference in New Issue
Block a user