Issue #21118: str.translate() now raises a ValueError, not a TypeError, if the
replacement character is bigger than U+10ffff code point.
Showing
Please
register
or
sign in
to comment
replacement character is bigger than U+10ffff code point.