Skip to content

Commit

Permalink
update changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
ilanschnell committed May 18, 2021
1 parent 69d3a21 commit 7461428
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 3 deletions.
1 change: 1 addition & 0 deletions CHANGE_LOG
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
2021-XX-XX 2.1.1:
-------------------
* add tests


2021-05-05 2.1.0:
Expand Down
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ Once you have installed the package, you may want to test it:
.........................................................................
.............................................................
----------------------------------------------------------------------
Ran 336 tests in 0.332s
Ran 339 tests in 0.329s
OK
Expand Down
4 changes: 2 additions & 2 deletions bitarray/_bitarray.c
Original file line number Diff line number Diff line change
Expand Up @@ -1760,8 +1760,8 @@ delslice(bitarrayobject *self, PyObject *slice)
step = -step;
}
assert(step > 0 && start <= stop && slicelength > 0);
assert(start >= 0 && start < self->nbits);
assert(stop >= 0 && stop <= self->nbits);
assert(0 <= start && start < self->nbits);
assert(0 <= stop && stop <= self->nbits);

if (step == 1) {
assert(stop - start == slicelength);
Expand Down

0 comments on commit 7461428

Please sign in to comment.