Brandt Bucher wrote: > At long last, Steven D'Aprano and I have pushed a second draft of PEP 584 > (dictionary > addition): > https://www.python.org/dev/peps/pep-0584/ > The accompanying reference implementation is on GitHub: > https://github.com/brandtbucher/cpython/tree/addiction
Do you know if there is an existing proposal for subtraction of iterables from lists and tuples? That would be extremely handy to me sometimes? In [1]: [1,2,3] - [2] --------------------------------------------------------------------------- TypeError Traceback (most recent call last) <ipython-input-1-220e30c8610a> in <module> ----> 1 [1,2,3] - [2] TypeError: unsupported operand type(s) for -: 'list' and 'list' _______________________________________________ Python-ideas mailing list -- python-ideas@python.org To unsubscribe send an email to python-ideas-le...@python.org https://mail.python.org/mailman3/lists/python-ideas.python.org/ Message archived at https://mail.python.org/archives/list/python-ideas@python.org/message/7MA4HBTCZK4AYIY6TI6U5AQ5GKKTSPMF/ Code of Conduct: http://python.org/psf/codeofconduct/