|
|
Subscribe / Log in / New account

What about parallel case of sets?

What about parallel case of sets?

Posted Mar 7, 2015 1:20 UTC (Sat) by droundy (subscriber, #4559)
In reply to: New operators for Python dicts? by dashesy
Parent article: New operators for Python dicts?

Given that dicts are so much closer to sets than lists, I was puzzled that the article didn't discuss the comparison with python's set syntax.

In particular, sets use | and |= where + and += are being proposed for dicts.


to post comments


Copyright © 2025, Eklektix, Inc.
Comments and public postings are copyrighted by their creators.
Linux is a registered trademark of Linus Torvalds