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

Serhiy Storchaka storchaka at gmail.com
Tue Mar 5 05:46:46 EST 2019


04.03.19 15:29, Serhiy Storchaka пише:
> Using "|" looks more natural to me than using "+". We 
> should look at discussions for using the "|" operator for sets, if the 
> alternative of using "+" was considered, I think the same arguments for 
> preferring "|" for sets are applicable now for dicts.

See the Python-Dev thread with the subject "Re: Re: PEP 218 (sets); 
moving set.py to Lib" starting from
https://mail.python.org/pipermail/python-dev/2002-August/028104.html



More information about the Python-ideas mailing list