On Sat, 17 May 2014 15:14:00 +1000 Nick Coghlan <ncogh...@gmail.com> wrote: > During a conversation today, I realised that the convention of > returning None from methods that change an object's state isn't > captured the Programming Recommendations section of PEP 8.
This is more an API design guideline than a programming recommandation, IMO. If we start putting those in PEP 8, it will end up bloating the PEP. (perhaps we need another PEP?) Regards Antoine. _______________________________________________ Python-Dev mailing list Python-Dev@python.org https://mail.python.org/mailman/listinfo/python-dev Unsubscribe: https://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com