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/vector.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/vector.c')
-rw-r--r-- | source/blender/python/generic/vector.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/source/blender/python/generic/vector.c b/source/blender/python/generic/vector.c index 4efd168eb87..a8452773012 100644 --- a/source/blender/python/generic/vector.c +++ b/source/blender/python/generic/vector.c @@ -2110,7 +2110,10 @@ static struct PyMethodDef Vector_methods[] = { vec*mat and mat*vec both get sent to Vector_mul and it neesd to sort out the order */ -static char vector_doc[] = "This object gives access to Vectors in Blender."; +static char vector_doc[] = +"This object gives access to Vectors in Blender.\n" +"\n" +".. literalinclude:: ../examples/mathutils_vector.py\n"; PyTypeObject vector_Type = { PyVarObject_HEAD_INIT(NULL, 0) |