Erlend Egeberg Aasland <erlend.aasl...@innova.no> added the comment:
I'd also prefer a Py_IsNotNone() because it's more explicit than !Py_IsNone(); the exclamation mark can be easily missed when reading/writing code, IMO. Just my 2 cents. ---------- nosy: +erlendaasland _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43753> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com