Show More
@@ -639,7 +639,7 b' static PyObject *hashmangle(const char *' | |||
|
639 | 639 | memcopy(dest, &destlen, destsize, &src[lastdot], |
|
640 | 640 | len - lastdot - 1); |
|
641 | 641 | |
|
642 | PyBytes_Check(ret); | |
|
642 | assert(PyBytes_Check(ret)); | |
|
643 | 643 | Py_SIZE(ret) = destlen; |
|
644 | 644 | |
|
645 | 645 | return ret; |
@@ -752,7 +752,7 b' PyObject *pathencode(PyObject *self, PyO' | |||
|
752 | 752 | newobj = PyBytes_FromStringAndSize(NULL, newlen); |
|
753 | 753 | |
|
754 | 754 | if (newobj) { |
|
755 | PyBytes_Check(newobj); | |
|
755 | assert(PyBytes_Check(newobj)); | |
|
756 | 756 | Py_SIZE(newobj)--; |
|
757 | 757 | basicencode(PyBytes_AS_STRING(newobj), newlen, path, |
|
758 | 758 | len + 1); |
General Comments 0
You need to be logged in to leave comments.
Login now