diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-02 11:28:27 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-02 11:28:27 +0300 |
commit | ae573836483d6acc56761918336cb8d2b0486d08 (patch) | |
tree | a9bb8a66c543824ae876c18f299fd176a952619e /source/blender/python | |
parent | 6abb37babc6aad9d7f262b1516b7a0e2972cb8e1 (diff) |
Cleanup: comment blocks
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 2 | ||||
-rw-r--r-- | source/blender/python/intern/gpu.c | 2 | ||||
-rw-r--r-- | source/blender/python/mathutils/mathutils_Vector.c | 6 |
3 files changed, 5 insertions, 5 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index d8d6b5c7ce7..327f325f02c 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -691,7 +691,7 @@ PyObject *PyC_UnicodeFromByte(const char *str) * Description: This function creates a new Python dictionary object. * note: dict is owned by sys.modules["__main__"] module, reference is borrowed * note: important we use the dict from __main__, this is what python expects - * for 'pickle' to work as well as strings like this... + * for 'pickle' to work as well as strings like this... * >> foo = 10 * >> print(__import__("__main__").foo) * diff --git a/source/blender/python/intern/gpu.c b/source/blender/python/intern/gpu.c index a3de9a3a7fd..eb28e4d4e1c 100644 --- a/source/blender/python/intern/gpu.c +++ b/source/blender/python/intern/gpu.c @@ -62,7 +62,7 @@ static struct PyModuleDef gpumodule = { "gpu", /* name of module */ M_gpu_doc, /* module documentation */ -1, /* size of per-interpreter state of the module, - * or -1 if the module keeps state in global variables. */ + * or -1 if the module keeps state in global variables. */ NULL, NULL, NULL, NULL, NULL }; diff --git a/source/blender/python/mathutils/mathutils_Vector.c b/source/blender/python/mathutils/mathutils_Vector.c index 860760d2b10..52d44ec5726 100644 --- a/source/blender/python/mathutils/mathutils_Vector.c +++ b/source/blender/python/mathutils/mathutils_Vector.c @@ -847,7 +847,7 @@ static PyObject *Vector_orthogonal(VectorObject *self) /** * Vector.reflect(mirror): return a reflected vector on the mirror normal. * <pre> - * vec - ((2 * dot(vec, mirror)) * mirror) + * vec - ((2 * dot(vec, mirror)) * mirror) * </pre> */ PyDoc_STRVAR(Vector_reflect_doc, @@ -1650,7 +1650,7 @@ static PyObject *Vector_isub(PyObject *v1, PyObject *v2) /** - * column vector multiplication (Matrix * Vector) + * Column vector multiplication (Matrix * Vector). * <pre> * [1][4][7] [a] * [2][5][8] * [b] @@ -2391,7 +2391,7 @@ static PyObject *Vector_swizzle_get(VectorObject *self, void *closure) } /** - * Set the items of this vector using a swizzle. + * Set the items of this vector using a swizzle. * - If value is a vector or list this operates like an array copy, except that * the destination is effectively re-ordered as defined by the swizzle. At * most min(len(source), len(dest)) values will be copied. |