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 <rep...@bugs.python.org>
<http://bugs.python.org/issue26687>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to