diff options
author | Campbell Barton <ideasman42@gmail.com> | 2018-09-02 11:51:31 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2018-09-02 11:51:31 +0300 |
commit | 0ddf3e110ef0f1f69ef785db867e581f813ee9a7 (patch) | |
tree | 4afbadc141cd4072a4ea0bb11205acee72cd6dc6 /source/blender/python | |
parent | 8a3b548cb2b2c7a05a4d0a1c613f788d38a04e85 (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 7cf669e875b..43796dc9474 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 6a40f22d9df..c203ac2bd05 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] @@ -2299,7 +2299,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. |