diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 08:37:37 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-02-08 08:37:37 +0400 |
commit | 1f74789d1250033eed6c5b9c86df5274c1339581 (patch) | |
tree | f8352e592b8cf883b8b4f6d8f6d20bbdb3c4d0b8 /source | |
parent | 9467ddb9037c3486bcbe80e9b9be510c05dfe526 (diff) |
Correct mathutils documentation, also correct some python spelling errors and add makefile target `check_spelling`
Diffstat (limited to 'source')
-rw-r--r-- | source/blender/makesrna/intern/rna_ID.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 15 |
2 files changed, 1 insertions, 16 deletions
diff --git a/source/blender/makesrna/intern/rna_ID.c b/source/blender/makesrna/intern/rna_ID.c index eed178b238d..de0cd6d9c59 100644 --- a/source/blender/makesrna/intern/rna_ID.c +++ b/source/blender/makesrna/intern/rna_ID.c @@ -232,7 +232,7 @@ StructRNA *rna_PropertyGroup_register(Main *UNUSED(bmain), ReportList *reports, /* note: it looks like there is no length limit on the srna id since its * just a char pointer, but take care here, also be careful that python - * owns the string pointer which it could potentually free while blender + * owns the string pointer which it could potentially free while blender * is running. */ if(BLI_strnlen(identifier, MAX_IDPROP_NAME) == MAX_IDPROP_NAME) { BKE_reportf(reports, RPT_ERROR, "registering id property class: '%s' is too long, maximum length is " STRINGIFY(MAX_IDPROP_NAME), identifier); diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 0ca8878c96a..dec701d5fc3 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -378,9 +378,6 @@ PyDoc_STRVAR(Vector_resize_doc, ".. method:: resize(size=3)\n" "\n" " Resize the vector to have size number of elements.\n" -"\n" -" :return: an instance of itself\n" -" :rtype: :class:`Vector`\n" ); static PyObject *Vector_resize(VectorObject *self, PyObject *value) { @@ -473,9 +470,6 @@ PyDoc_STRVAR(Vector_resize_2d_doc, ".. method:: resize_2d()\n" "\n" " Resize the vector to 2D (x, y).\n" -"\n" -" :return: an instance of itself\n" -" :rtype: :class:`Vector`\n" ); static PyObject *Vector_resize_2d(VectorObject *self) { @@ -508,9 +502,6 @@ PyDoc_STRVAR(Vector_resize_3d_doc, ".. method:: resize_3d()\n" "\n" " Resize the vector to 3D (x, y, z).\n" -"\n" -" :return: an instance of itself\n" -" :rtype: :class:`Vector`\n" ); static PyObject *Vector_resize_3d(VectorObject *self) { @@ -546,9 +537,6 @@ PyDoc_STRVAR(Vector_resize_4d_doc, ".. method:: resize_4d()\n" "\n" " Resize the vector to 4D (x, y, z, w).\n" -"\n" -" :return: an instance of itself\n" -" :rtype: :class:`Vector`\n" ); static PyObject *Vector_resize_4d(VectorObject *self) { @@ -2676,9 +2664,6 @@ PyDoc_STRVAR(Vector_negate_doc, ".. method:: negate()\n" "\n" " Set all values to their negative.\n" -"\n" -" :return: an instance of itself\n" -" :rtype: :class:`Vector`\n" ); static PyObject *Vector_negate(VectorObject *self) { |