• Georg Brandl's avatar
    Backport r67974: · 6425a2fa
    Georg Brandl yazdı
    #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.
    6425a2fa
bytearrayobject.c 96.5 KB