diff options
author | Campbell Barton <ideasman42@gmail.com> | 2016-07-16 10:48:57 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2016-07-16 10:48:57 +0300 |
commit | c885cea7bbfbbb8f1815cf5bc1f3ecc532c309ad (patch) | |
tree | 97dc05e1f4843c52afd9d907724af91962531d01 /source/blender/python | |
parent | f0f9a876141cd4bdc10a753fd8e18a4a1a7e45e5 (diff) |
Cleanup: spelling
Diffstat (limited to 'source/blender/python')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index 8b741eba18a..72dec55e50b 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -177,7 +177,7 @@ PyObject *PyC_FromArray(const void *array, int length, const PyTypeObject *type, /** * Caller needs to ensure tuple is uninitialized. - * Handy for filling a typle with None for eg. + * Handy for filling a tuple with None for eg. */ void PyC_Tuple_Fill(PyObject *tuple, PyObject *value) { @@ -367,11 +367,12 @@ PyObject *PyC_FrozenSetFromStrings(const char **strings) } -/* similar to PyErr_Format(), +/** + * Similar to #PyErr_Format(), * - * implementation - we cant actually preprend the existing exception, + * Implementation - we cant actually prepend the existing exception, * because it could have _any_ arguments given to it, so instead we get its - * __str__ output and raise our own exception including it. + * ``__str__`` output and raise our own exception including it. */ PyObject *PyC_Err_Format_Prefix(PyObject *exception_type_prefix, const char *format, ...) { |