Style guide news!
Do you write C code for CPython itself?
PEP 7 (Style Guide for C Code) has been updated to allow putting newlines before operators, "Knuth style":
if (type->tp_dictoffset != 0
&& base->tp_dictoffset == 0
&& type->tp_dictoffset == b_size
&& (size_t)t_size == b_size + sizeof(PyObject *))
{
return 0;
}
This is similar to PEP 8 and Black style for Python code.
https://github.com/python/peps/pull/3931/files