[PEP 203] Augmented Assignment

Hamish Lawson hamish_lawson at yahoo.co.uk
Mon Aug 21 17:01:12 EDT 2000


What to call the augmented assignment methods?

I'd vote for having 'inplace' in the names of the methods, since I
think we'll probably end up talking about them this way. But the real
clincher for me is consistency with the PEP's proposal to
employ 'inplace' in the names of the associated bytecodes, API
functions and C extension types' struct members.

Between __add_inplace__() and __inplace_add__() my preference would
probably be for the former.

Hamish Lawson



Sent via Deja.com http://www.deja.com/
Before you buy.



More information about the Python-list mailing list