##// END OF EJS Templates
index: return False for "len(index) in index"...
Martin von Zweigbergk -
r38902:aa33988a default
parent child Browse files
Show More
@@ -1393,7 +1393,7 b' static int index_contains(indexObject *s'
1393
1393
1394 if (PyInt_Check(value)) {
1394 if (PyInt_Check(value)) {
1395 long rev = PyInt_AS_LONG(value);
1395 long rev = PyInt_AS_LONG(value);
1396 return rev >= -1 && rev < index_length(self) + 1;
1396 return rev >= -1 && rev < index_length(self);
1397 }
1397 }
1398
1398
1399 if (node_check(value, &node) == -1)
1399 if (node_check(value, &node) == -1)
General Comments 0
You need to be logged in to leave comments. Login now