diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-02-01 00:52:26 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-02-01 00:52:26 +0300 |
commit | fd3842f3a2b9f92fabec6268271429200b2713bd (patch) | |
tree | a5c408ce5260de6636b2581abb74a0fcdcd6bf0f /source/blender/python/generic/matrix.c | |
parent | 02c6d160d7332feaed3efd1a6378406966a25bb1 (diff) |
Mathutils doc improvements + other small things
- bpy.app moved into PyStructSequence (used by sys.float_info)
- added buildinfo into bpy.app.build_*
- bpy.ui removed (wasnt used)
- include external example files in Mathutils docs (only Mathutils and Vector are currently written)
- added support to auto document PyStructSequence's
- CMake had "'s inside all its strings.
Diffstat (limited to 'source/blender/python/generic/matrix.c')
-rw-r--r-- | source/blender/python/generic/matrix.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/generic/matrix.c b/source/blender/python/generic/matrix.c index af754e532a9..181004929ff 100644 --- a/source/blender/python/generic/matrix.c +++ b/source/blender/python/generic/matrix.c @@ -1280,7 +1280,10 @@ static struct PyMethodDef Matrix_methods[] = { }; /*------------------PY_OBECT DEFINITION--------------------------*/ -static char matrix_doc[] = "This object gives access to Matrices in Blender."; +static char matrix_doc[] = +"This object gives access to Matrices in Blender.\n" +"\n" +".. literalinclude:: ../examples/mathutils_matrix.py\n"; PyTypeObject matrix_Type = { PyVarObject_HEAD_INIT(NULL, 0) |