diff options
author | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-29 19:49:12 +0400 |
---|---|---|
committer | Brecht Van Lommel <brechtvanlommel@gmail.com> | 2014-01-29 19:49:12 +0400 |
commit | 299180f3c6433bb215053a8ef5ec3cbd1d1e4bbe (patch) | |
tree | 232eda0664d534d7caad33f8286ab710f366b8c1 /source/blender/python/intern/bpy_props.c | |
parent | be849f6f7e3cef55e3bd4698402c9adc2a846cbe (diff) |
Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.
Diffstat (limited to 'source/blender/python/intern/bpy_props.c')
-rw-r--r-- | source/blender/python/intern/bpy_props.c | 10 |
1 files changed, 5 insertions, 5 deletions
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, " |