[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-25 Thread Mark Dickinson
Changes by Mark Dickinson : -- resolution: accepted -> fixed status: open -> closed ___ Python tracker ___ ___ Python-bugs-list mailin

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-25 Thread Roundup Robot
Roundup Robot added the comment: New changeset 60b3a5615c4e by Mark Dickinson in branch '2.7': Issue #12164: Document (in docstring) that str.translate accepts None for the first argument. http://hg.python.org/cpython/rev/60b3a5615c4e -- nosy: +python-dev _

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-04 Thread Raymond Hettinger
Changes by Raymond Hettinger : -- resolution: -> accepted ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: http

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-04 Thread Petri Lehtinen
Petri Lehtinen added the comment: > What do you think? Sounds very good to my native Finnish ears :) -- ___ Python tracker ___ ___ P

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-06-04 Thread Mark Dickinson
Mark Dickinson added the comment: Thanks for the patches! Here's a slight expansion of the wording on your second patch: Return a copy of the string S, where all characters occurring in the optional argument deletechars are removed, and the remaining characters have been mapped through the

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: After discussing with Ezio Melotti, I attached another patch with a different wording. Mark: As a native English speaker, which one you prefer? -- Added file: http://bugs.python.org/file22206/str_translate_docstring_2.patch __

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-31 Thread Petri Lehtinen
Petri Lehtinen added the comment: I added a patch a few days ago. How does it look? -- ___ Python tracker ___ ___ Python-bugs-list ma

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-25 Thread Petri Lehtinen
Changes by Petri Lehtinen : -- keywords: +patch nosy: +petri.lehtinen Added file: http://bugs.python.org/file22122/str_translate_docstring.patch ___ Python tracker ___ __

[issue12164] str.translate docstring doesn't mention that 'table' can be None

2011-05-23 Thread Mark Dickinson
New submission from Mark Dickinson : In Python 2.6 and 2.7, str.translate accepts None as a first argument. That's documented in the docs, but not in the str.translate docstring. -- assignee: docs@python components: Documentation messages: 136720 nosy: docs@python, mark.dickinson prior