Excuse me, I wrote this answer from the web interface. Florent Le lun. 9 août 2021 à 16:16, Chris Angelico <rosuav@gmail.com> a écrit :
On Tue, Aug 10, 2021 at 12:08 AM <fgallaire@gmail.com> wrote:
Two possibilities:
1) the perfectly backward compatible, retrun False 2) the more pythonic, return the empty value of the object (i.e. "" for str)
Please quote the person you're responding to, for context. Were you replying to Serhiy?
ChrisA _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-leave@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/KBMB4E... Code of Conduct: http://python.org/psf/codeofconduct/
-- FLOSS Engineer & Lawyer