[issue28986] Docs should say set.update takes iterable
New submission from Nick Evans: The docs say that set.update takes *args: update(*others) But actually set.update takes an optional iterable: update([iterable]) ---------- assignee: docs@python components: Documentation messages: 283394 nosy: docs@python, nre3976 priority: normal severity: normal status: open title: Docs should say set.update takes iterable versions: Python 3.5 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue28986> _______________________________________
R. David Murray added the comment: update([iterable]) is a specific case of update(*others). udpate([1, 2], [3, 4]) is another specific case. ---------- nosy: +r.david.murray _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue28986> _______________________________________
Changes by Raymond Hettinger <raymond.hettinger@gmail.com>: ---------- resolution: -> not a bug status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue28986> _______________________________________
participants (3)
-
Nick Evans -
R. David Murray -
Raymond Hettinger