Message303049
str.maketrans in python3 is able to accept just one argument which is a
mapping of translations.
While bytearray and bytes are still using only old way where you should
pass two iterables from and to.
static str.maketrans(x [,y [,z]])
static bytes.maketrans(from, to)
static bytearray.maketrans(from, to)
On Tue, Sep 26, 2017 at 6:12 PM, Serhiy Storchaka <report@bugs.python.org>
wrote:
>
> New submission from Serhiy Storchaka:
>
> Could you please provide more information? What the problem you want to
> solve?
>
> ----------
> nosy: +serhiy.storchaka
>
> _______________________________________
> Python tracker <report@bugs.python.org>
> <https://bugs.python.org/issue31594>
> _______________________________________
> |
|
Date |
User |
Action |
Args |
2017-09-26 16:25:33 | oleksandr.suvorov | set | recipients:
+ oleksandr.suvorov, serhiy.storchaka |
2017-09-26 16:25:33 | oleksandr.suvorov | link | issue31594 messages |
2017-09-26 16:25:33 | oleksandr.suvorov | create | |
|