Commit 5c1ee17
committed
Change the unicode.translate docstring to document that
Unicode strings (with arbitrary length) are allowed
as entries in the unicode.translate mapping.
Add a test case for multicharacter replacements.
(Multicharacter replacements were enabled by the
PEP 293 patch)1 parent a04c3d8 commit 5c1ee17
2 files changed
Lines changed: 5 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
| 408 | + | |
| 409 | + | |
408 | 410 | | |
409 | 411 | | |
410 | 412 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
5610 | 5610 | | |
5611 | 5611 | | |
5612 | 5612 | | |
5613 | | - | |
5614 | | - | |
| 5613 | + | |
| 5614 | + | |
| 5615 | + | |
5615 | 5616 | | |
5616 | 5617 | | |
5617 | 5618 | | |
| |||
0 commit comments