From 299180f3c6433bb215053a8ef5ec3cbd1d1e4bbe Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Wed, 29 Jan 2014 16:49:12 +0100 Subject: Fix T36955: API docs referred to sys.maxint which does not exist in Python 3. --- source/blender/python/intern/bpy_props.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source/blender/python/intern') diff --git a/source/blender/python/intern/bpy_props.c b/source/blender/python/intern/bpy_props.c index 7eee0d4a42a..afb6ce05c95 100644 --- a/source/blender/python/intern/bpy_props.c +++ b/source/blender/python/intern/bpy_props.c @@ -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, " -- cgit v1.2.3