Serhiy Storchaka <storchaka+cpyt...@gmail.com> added the comment:

This error is correct. It is the same as for dict.update.

>>> dict.update()
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
TypeError: descriptor 'update' of 'dict' object needs an argument

Perhaps you missed the difference between a descriptor and a method.

----------
nosy: +rhettinger, serhiy.storchaka

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

Reply via email to