Show More
@@ -228,10 +228,10 b' static const char *index_node(indexObjec' | |||
|
228 | 228 | Py_ssize_t length = index_length(self) + 1; |
|
229 | 229 | const char *data; |
|
230 | 230 | |
|
231 | if (pos == length - 1 || pos == -1) | |
|
231 | if (pos == -1) | |
|
232 | 232 | return nullid; |
|
233 | 233 | |
|
234 | if (pos >= length) | |
|
234 | if (pos >= length - 1) | |
|
235 | 235 | return NULL; |
|
236 | 236 | |
|
237 | 237 | if (pos >= self->length - 1) { |
General Comments 0
You need to be logged in to leave comments.
Login now