Add missing information in docstring of validate_integer
Add versionadded and raises information in docstring Change-Id: Ia5929dc81cfed927a7b5dd809c13d3ae7efdf699
This commit is contained in:
parent
58fb709f58
commit
5d40f5bb1c
@ -446,6 +446,9 @@ def validate_integer(value, name, min_value=None, max_value=None):
|
||||
:param min_value: min_value of the integer
|
||||
:param max_value: max_value of the integer
|
||||
:returns: integer
|
||||
:raises: ValueError if value is an invalid integer
|
||||
|
||||
.. versionadded:: 3.33
|
||||
"""
|
||||
try:
|
||||
value = int(str(value))
|
||||
|
Loading…
x
Reference in New Issue
Block a user