##// END OF EJS Templates
dirs: add comment about _PyBytes_Resize...
Gregory Szorc -
r30139:27e00e63 default
parent child Browse files
Show More
@@ -59,7 +59,8 b' static int _addpath(PyObject *dirs, PyOb'
59 * "protocol" such as mutating immutable objects. But since we only
59 * "protocol" such as mutating immutable objects. But since we only
60 * mutate objects created in this function or in other well-defined
60 * mutate objects created in this function or in other well-defined
61 * locations, the references are known so these violations should go
61 * locations, the references are known so these violations should go
62 * unnoticed. */
62 * unnoticed. The code for adjusting the length of a PyBytesObject is
63 * essentially a minimal version of _PyBytes_Resize. */
63 while ((pos = _finddir(cpath, pos - 1)) != -1) {
64 while ((pos = _finddir(cpath, pos - 1)) != -1) {
64 PyObject *val;
65 PyObject *val;
65
66
General Comments 0
You need to be logged in to leave comments. Login now