Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.

This commit is contained in:
Brecht Van Lommel 2014-01-29 16:49:12 +01:00
parent be849f6f7e
commit 299180f3c6

@ -2012,8 +2012,8 @@ PyDoc_STRVAR(BPy_IntProperty_doc,
".. function:: IntProperty(name=\"\", " ".. function:: IntProperty(name=\"\", "
"description=\"\", " "description=\"\", "
"default=0, " "default=0, "
"min=-sys.maxint, max=sys.maxint, " "min=-2**31, max=2**31-1, "
"soft_min=-sys.maxint, soft_max=sys.maxint, " "soft_min=-2**31, soft_max=2**31-1, "
"step=1, " "step=1, "
"options={'ANIMATABLE'}, " "options={'ANIMATABLE'}, "
"subtype='NONE', " "subtype='NONE', "
@ -2098,9 +2098,9 @@ static PyObject *BPy_IntProperty(PyObject *self, PyObject *args, PyObject *kw)
PyDoc_STRVAR(BPy_IntVectorProperty_doc, PyDoc_STRVAR(BPy_IntVectorProperty_doc,
".. function:: IntVectorProperty(name=\"\", " ".. function:: IntVectorProperty(name=\"\", "
"description=\"\", " "description=\"\", "
"default=(0, 0, 0), min=-sys.maxint, max=sys.maxint, " "default=(0, 0, 0), min=-2**31, max=2**31-1, "
"soft_min=-sys.maxint, " "soft_min=-2**31, "
"soft_max=sys.maxint, " "soft_max=2**31-1, "
"options={'ANIMATABLE'}, " "options={'ANIMATABLE'}, "
"subtype='NONE', " "subtype='NONE', "
"size=3, " "size=3, "