Forest <fgr...@gmail.com> added the comment:
Sorry there was a typo in the first example block: It should be >>> {}.keys() & [] set() >>> set() & [] Traceback (most recent call last): File "<stdin>", line 1, in <module> TypeError: unsupported operand type(s) for &: 'set' and 'list' >>> set() & [] does **not** return set() it raises a TypeError ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com