Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.
This commit is contained in:
parent
be849f6f7e
commit
299180f3c6
@ -2012,8 +2012,8 @@ PyDoc_STRVAR(BPy_IntProperty_doc,
|
||||
".. function:: IntProperty(name=\"\", "
|
||||
"description=\"\", "
|
||||
"default=0, "
|
||||
"min=-sys.maxint, max=sys.maxint, "
|
||||
"soft_min=-sys.maxint, soft_max=sys.maxint, "
|
||||
"min=-2**31, max=2**31-1, "
|
||||
"soft_min=-2**31, soft_max=2**31-1, "
|
||||
"step=1, "
|
||||
"options={'ANIMATABLE'}, "
|
||||
"subtype='NONE', "
|
||||
@ -2098,9 +2098,9 @@ static PyObject *BPy_IntProperty(PyObject *self, PyObject *args, PyObject *kw)
|
||||
PyDoc_STRVAR(BPy_IntVectorProperty_doc,
|
||||
".. function:: IntVectorProperty(name=\"\", "
|
||||
"description=\"\", "
|
||||
"default=(0, 0, 0), min=-sys.maxint, max=sys.maxint, "
|
||||
"soft_min=-sys.maxint, "
|
||||
"soft_max=sys.maxint, "
|
||||
"default=(0, 0, 0), min=-2**31, max=2**31-1, "
|
||||
"soft_min=-2**31, "
|
||||
"soft_max=2**31-1, "
|
||||
"options={'ANIMATABLE'}, "
|
||||
"subtype='NONE', "
|
||||
"size=3, "
|
||||
|
Loading…
Reference in New Issue
Block a user