diff options
author | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 11:38:51 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2012-03-18 11:38:51 +0400 |
commit | 4f19c1a995de507044d1b5ada7fb7398cdb32096 (patch) | |
tree | e46c13dd84a493177c80af0715f8f9b09c333943 /source/blender/python/generic | |
parent | e56f71400060f10f73bed6b5c52fc537e5a0d617 (diff) |
spelling cleanup
Diffstat (limited to 'source/blender/python/generic')
-rw-r--r-- | source/blender/python/generic/py_capi_utils.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/python/generic/py_capi_utils.c b/source/blender/python/generic/py_capi_utils.c index 0b89b8744b9..fdb5f629115 100644 --- a/source/blender/python/generic/py_capi_utils.c +++ b/source/blender/python/generic/py_capi_utils.c @@ -329,7 +329,7 @@ PyObject *PyC_ExceptionBuffer(void) goto error_cleanup; } - Py_INCREF(stdout_backup); // since these were borrowed we dont want them freed when replaced. + Py_INCREF(stdout_backup); // since these were borrowed we don't want them freed when replaced. Py_INCREF(stderr_backup); PySys_SetObject("stdout", string_io); // both of these are freed when restoring @@ -449,7 +449,7 @@ void PyC_MainModule_Backup(PyObject **main_mod) { PyInterpreterState *interp = PyThreadState_GET()->interp; *main_mod = PyDict_GetItemString(interp->modules, "__main__"); - Py_XINCREF(*main_mod); /* dont free */ + Py_XINCREF(*main_mod); /* don't free */ } void PyC_MainModule_Restore(PyObject *main_mod) @@ -517,7 +517,7 @@ void PyC_RunQuicky(const char *filepath, int n, ...) int i; PyObject *py_dict = PyC_DefaultNameSpace(filepath); - PyObject *values = PyList_New(n / 2); /* namespace owns this, dont free */ + PyObject *values = PyList_New(n / 2); /* namespace owns this, don't free */ PyObject *py_result, *ret; @@ -580,7 +580,7 @@ void PyC_RunQuicky(const char *filepath, int n, ...) if (values && PyList_Check(values)) { - /* dont use the result */ + /* don't use the result */ Py_DECREF(py_result); py_result = NULL; |