diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-09-29 15:51:18 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-09-29 15:51:18 +0400 |
commit | 9fccfd313cd52618fed6bca0148154f75431e3c0 (patch) | |
tree | 729d6470af0a9bf6be14c62c006577521dbd644e /source/blender/python | |
parent | 435ab1710b4d9e98018feb5088cf9418bfe1a607 (diff) |
correct addon example, it used both __doc__ and bl_description
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/intern/bpy.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/python/intern/bpy.c b/source/blender/python/intern/bpy.c index f2222825c42..3bf44e43c56 100644 --- a/source/blender/python/intern/bpy.c +++ b/source/blender/python/intern/bpy.c @@ -171,7 +171,7 @@ static PyObject *bpy_user_resource(PyObject *UNUSED(self), PyObject *args, PyObj } PyDoc_STRVAR(bpy_resource_path_doc, -".. function:: resource_path(type, major=2, minor=57)\n" +".. function:: resource_path(type, major=bpy.app.version[0], minor=bpy.app.version[1])\n" "\n" " Return the base path for storing system files.\n" "\n" |