Issue 17402: In mmap doc examples map() is shadowed (original) (raw)

Issue17402

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

This issue has been migrated to GitHub: https://github.com/python/cpython/issues/61604

classification

Title: In mmap doc examples map() is shadowed
Type: enhancement Stage: resolved
Components: Documentation Versions: Python 3.2, Python 3.3, Python 3.4, Python 2.7

process

Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ezio.melotti Nosy List: Aman.Shah, docs@python, ezio.melotti, py.user, python-dev
Priority: normal Keywords: easy, patch

Created on 2013-03-12 07:21 by py.user, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue17402.patch Aman.Shah,2013-03-12 12:02 review
issue17402.patch py.user,2013-03-12 18:48 for python3.3 mmap.rst review
Messages (5)
msg184015 - (view) Author: py.user (py.user) * Date: 2013-03-12 07:21
http://docs.python.org/3/library/mmap.html examples use map as a name for the mmap object
msg184020 - (view) Author: Aman Shah (Aman.Shah) * Date: 2013-03-12 12:02
Corrected map -> mymap.
msg184038 - (view) Author: py.user (py.user) * Date: 2013-03-12 18:06
how about "mm" ?
msg184063 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2013-03-13 00:28
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
msg184064 - (view) Author: Ezio Melotti (ezio.melotti) * (Python committer) Date: 2013-03-13 00:29
Fixed, thanks for the report and the patches! (py.user, if you specify your real name, next time I can give you credits too.)
History
Date User Action Args
2022-04-11 14:57:42 admin set github: 61604
2013-03-13 00:29:56 ezio.melotti set status: open -> closedmessages: + assignee: docs@python -> ezio.melottiresolution: fixedstage: needs patch -> resolved
2013-03-13 00:28:09 python-dev set nosy: + python-devmessages: +
2013-03-12 18:48:38 py.user set files: + issue17402.patch
2013-03-12 18:06:33 py.user set messages: +
2013-03-12 12:02:50 Aman.Shah set files: + issue17402.patchnosy: + Aman.Shahmessages: + keywords: + patch
2013-03-12 07:40:56 ezio.melotti set versions: + Python 2.7, Python 3.2, Python 3.4nosy: + ezio.melottikeywords: + easytype: performance -> enhancementstage: needs patch
2013-03-12 07:21:15 py.user create

Supported by The Python Software Foundation,
Powered by Roundup

Copyright © 1990-2022, Python Software Foundation
Legal Statements