[issue17402] In mmap doc examples map() is shadowed
New submission from py.user: http://docs.python.org/3/library/mmap.html examples use map as a name for the mmap object ---------- assignee: docs@python components: Documentation messages: 184015 nosy: docs@python, py.user priority: normal severity: normal status: open title: In mmap doc examples map() is shadowed type: performance versions: Python 3.3 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
Changes by Ezio Melotti <ezio.melotti@gmail.com>: ---------- keywords: +easy nosy: +ezio.melotti stage: -> needs patch type: performance -> enhancement versions: +Python 2.7, Python 3.2, Python 3.4 _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
Aman Shah added the comment: Corrected map -> mymap. ---------- keywords: +patch nosy: +Aman.Shah Added file: http://bugs.python.org/file29386/issue17402.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
py.user added the comment: how about "mm" ? ---------- _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
Changes by py.user <bugzilla-mail-box@yandex.ru>: Added file: http://bugs.python.org/file29390/mm.patch _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
Roundup Robot added the comment: New changeset c226133b1493 by Ezio Melotti in branch '2.7': #17402: avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah. http://hg.python.org/cpython/rev/c226133b1493 New changeset df27ea4bdebd by Ezio Melotti in branch '3.2': #17402: avoid shadowing built-in map in mmap examples. Initial patch by Aman Shah. http://hg.python.org/cpython/rev/df27ea4bdebd New changeset bf0632a17ab4 by Ezio Melotti in branch '3.3': #17402: merge with 3.2. http://hg.python.org/cpython/rev/bf0632a17ab4 New changeset b49971a1e70d by Ezio Melotti in branch 'default': #17402: merge with 3.3. http://hg.python.org/cpython/rev/b49971a1e70d ---------- nosy: +python-dev _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
Ezio Melotti added the comment: Fixed, thanks for the report and the patches! (py.user, if you specify your real name, next time I can give you credits too.) ---------- assignee: docs@python -> ezio.melotti resolution: -> fixed stage: needs patch -> committed/rejected status: open -> closed _______________________________________ Python tracker <report@bugs.python.org> <http://bugs.python.org/issue17402> _______________________________________
participants (4)
-
Aman Shah -
Ezio Melotti -
py.user -
Roundup Robot