New submission from s7v7nislands <s7v7nisla...@gmail.com>: In document 6.6.4. Mutable Sequence Types says: The following operations are defined on mutable sequence types: s.count(x) return number of i‘s for which s[i] == x s.index(x[, i[, j]]) return smallest k such that s[k] == x and i <= k < j (4)
here, s.count() and s.index() maybe should in immutable sequence types operations list. ---------- assignee: georg.brandl components: Documentation messages: 92471 nosy: georg.brandl, s7v7nislands severity: normal status: open title: sequence method .count() and .index() shoud be in immutable sequence method list. _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue6874> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com