[issue26687] Use Py_RETURN_NONE in sqlite3 module

Serhiy Storchaka report at bugs.python.org
Fri Apr 1 16:50:58 EDT 2016


Serhiy Storchaka added the comment:

This patch and more can be generated by Сoccinelle [1] semantic patch.

    spatch --in-place --dir . --sp-file py_return_none_macro.cocci

But be aware that some maintainers consider such sort of changes a code churn.

[1] http://coccinelle.lip6.fr/

----------
nosy: +serhiy.storchaka
Added file: http://bugs.python.org/file42348/py_return_none_macro.cocci

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26687>
_______________________________________


More information about the Python-bugs-list mailing list