[Python-ideas] Dict joining using + and +=

MRAB python at mrabarnett.plus.com
Sat Mar 2 17:11:09 EST 2019


On 2019-03-02 22:02, francismb wrote:
> 
> On 2/27/19 7:14 PM, MRAB wrote:
>> Are there any advantages of using '+' over '|'?
> or for e.g. '<=' (d1 <= d2) over '+' (d1 + d2)
> 
'<=' is for comparison, less-than-or-equal (in the case of sets, subset, 
which is sort of the same kind of thing). Using it for anything else in 
Python would be too confusing.


More information about the Python-ideas mailing list