Commits

Amaury Forgeot d'Arc committed e2e5c86

Fix translation, maybe

  • Participants
  • Parent commits 4a23027
  • Branches py3k

Comments (0)

Files changed (1)

pypy/module/_multibytecodec/c_codecs.py

             # py3k only
             replace = rets
         else:
+            assert encodebuf is not None
             codec = pypy_cjk_enc_getcodec(encodebuf)
             replace = encode(codec, retu, "strict", errorcb, namecb)
     inbuf = rffi.get_nonmovingbuffer(replace)