correct addon example, it used both __doc__ and bl_description

This commit is contained in:
2012-09-29 11:51:18 +00:00
parent 435ab1710b
commit 9fccfd313c
2 changed files with 2 additions and 3 deletions

View File

@@ -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"