diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-13 10:22:43 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-13 10:22:43 +0400 |
commit | 2fbb5ce8338838a58f7cf518ceaa40580d290791 (patch) | |
tree | 88929234cb13bdeb45fc911d4bad9daa2a598747 /source/blender/python | |
parent | a69585573e460ca96af340800d4d8534bdece9f6 (diff) |
bmesh py api: more comprehensive intro page, also fix some spelling errors.
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/bmesh/bmesh_py_api.c | 5 | ||||
-rw-r--r-- | source/blender/python/intern/bpy_rna.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Matrix.c | 2 |
3 files changed, 3 insertions, 6 deletions
diff --git a/source/blender/python/bmesh/bmesh_py_api.c b/source/blender/python/bmesh/bmesh_py_api.c index d3dcc979015..5526926ec8e 100644 --- a/source/blender/python/bmesh/bmesh_py_api.c +++ b/source/blender/python/bmesh/bmesh_py_api.c @@ -108,10 +108,7 @@ PyDoc_STRVAR(BPy_BM_doc, "* :mod:`bmesh.types`\n" "\n" "\n" -"Example Script\n" -"--------------\n" -"\n" -".. literalinclude:: ../../../release/scripts/templates/bmesh_simple.py\n" +".. include:: include__bmesh.rst\n" ); static struct PyModuleDef BPy_BM_module_def = { PyModuleDef_HEAD_INIT, diff --git a/source/blender/python/intern/bpy_rna.c b/source/blender/python/intern/bpy_rna.c index b543f426751..1af1f8fc9e4 100644 --- a/source/blender/python/intern/bpy_rna.c +++ b/source/blender/python/intern/bpy_rna.c @@ -4524,7 +4524,7 @@ static struct PyMethodDef pyrna_struct_methods[] = { {"type_recast", (PyCFunction)pyrna_struct_type_recast, METH_NOARGS, pyrna_struct_type_recast_doc}, {"__dir__", (PyCFunction)pyrna_struct_dir, METH_NOARGS, NULL}, - /* experemental */ + /* experimental */ {"callback_add", (PyCFunction)pyrna_callback_add, METH_VARARGS, NULL}, {"callback_remove", (PyCFunction)pyrna_callback_remove, METH_VARARGS, NULL}, {NULL, NULL, 0, NULL} diff --git a/source/blender/python/mathutils/mathutils_Matrix.c b/source/blender/python/mathutils/mathutils_Matrix.c index ea329b17013..1d9bda02311 100644 --- a/source/blender/python/mathutils/mathutils_Matrix.c +++ b/source/blender/python/mathutils/mathutils_Matrix.c @@ -780,7 +780,7 @@ PyDoc_STRVAR(C_Matrix_Shear_doc, " :arg size: The size of the shear matrix to construct [2, 4].\n" " :type size: int\n" " :arg factor: The factor of shear to apply. For a 3 or 4 *size* matrix\n" -" pass a pair of floats corrasponding with the *plane* axis.\n" +" pass a pair of floats corresponding with the *plane* axis.\n" " :type factor: float or float pair\n" " :return: A new shear matrix.\n" " :rtype: :class:`Matrix`\n" |