style cleanup, use { on newline after function definition.
spelling 'impliment' -> 'implement'
This commit is contained in:
@@ -228,7 +228,7 @@ PyObject *PyC_Object_GetAttrStringArgs(PyObject *o, Py_ssize_t n, ...)
|
||||
|
||||
/* similar to PyErr_Format(),
|
||||
*
|
||||
* implimentation - we cant actually preprend the existing exception,
|
||||
* implementation - we cant actually preprend the existing exception,
|
||||
* because it could have _any_ argiments given to it, so instead we get its
|
||||
* __str__ output and raise our own exception including it.
|
||||
*/
|
||||
|
||||
@@ -6857,7 +6857,7 @@ static int bpy_class_call(bContext *C, PointerRNA *ptr, FunctionRNA *func, Param
|
||||
#if 1
|
||||
/* Skip the code below and call init directly on the allocated 'py_srna'
|
||||
* otherwise __init__() always needs to take a second self argument, see pyrna_struct_new().
|
||||
* Although this is annoying to have to impliment a part of pythons typeobject.c:type_call().
|
||||
* Although this is annoying to have to implement a part of pythons typeobject.c:type_call().
|
||||
*/
|
||||
if (py_class->tp_init) {
|
||||
#ifdef USE_PEDANTIC_WRITE
|
||||
|
||||
Reference in New Issue
Block a user