Josh Rosenberg added the comment:

Minor correction to example. That should be:


   class MySet(Set):
       update = Set.__ior__

(no paren after __ior__, since we're assigning, not calling)

----------
nosy: +josh.rosenberg

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue22089>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to