commit | 6425a2fa8f354e755f876f2dea708697e42cc9fd | [log] [tgz] |
---|---|---|
author | Georg Brandl <georg@python.org> | Sun Dec 28 11:54:53 2008 +0000 |
committer | Georg Brandl <georg@python.org> | Sun Dec 28 11:54:53 2008 +0000 |
tree | 45f306eac9c148cc56fe9aeef40fbbabc2a25067 | |
parent | e7d1e7e5d43e369db602bab35a6d5a47b6e5569e [diff] |
Backport r67974: #4759: allow None as first argument of bytearray.translate(), for consistency with bytes.translate(). Also fix segfault for bytearray.translate(x, None) -- will backport this part to 3.0 and 2.6.