[Python-ideas] Left arrow and right arrow operators
francismb
francismb at email.de
Fri Mar 8 14:56:07 EST 2019
Hi fhsxfhsx,
On 3/4/19 5:56 AM, fhsxfhsx wrote:
> Could you explain why do you prefer this operator than `+`?
Well yes, because of the asymmetric operation done underneath (merging
dicts is not symmetric). The asymmetry is explicit in the symbol. Not
implicit from the documentation you need to know/read for + (in the case
proposed for dictionaries).
Regards,
--francis
More information about the Python-ideas
mailing list