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.

Author jjposner
Recipients bgailer, docs@python, jjposner, josh.r, lilbludot, martin.panter, terry.reedy
Date 2014-12-15.13:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1418650728.14.0.202359912501.issue21279@psf.upfronthosting.co.za>
In-reply-to
Content
Kindly ignore message #2 on the Rietveld page (sorry for the channel noise). Here's my suggested revision:

Return a copy of the string *str* in which each character has been mapped through the given translation *table*. The table must be a subscriptable object, for instance a list or dictionary; when subscripted (indexed) by a Unicode ordinal (an integer in range(1048576)), the table object can:

* return a Unicode ordinal or a string, to map the character to one or more other characters.

* return None, to delete the character from the return string.

* raise a LookupError (possibly an instance of subclass IndexError or KeyError), to map the character to itself.
History
Date User Action Args
2014-12-15 13:38:48jjposnersetrecipients: + jjposner, terry.reedy, bgailer, docs@python, martin.panter, josh.r, lilbludot
2014-12-15 13:38:48jjposnersetmessageid: <1418650728.14.0.202359912501.issue21279@psf.upfronthosting.co.za>
2014-12-15 13:38:48jjposnerlinkissue21279 messages
2014-12-15 13:38:47jjposnercreate