Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

DOC: improve description of fill() #52

Merged
merged 1 commit into from
May 29, 2018
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -389,7 +389,7 @@ Reference

``fill()`` -> int
Adds zeros to the end of the bitarray, such that the length of the bitarray
is not a multiple of 8. Returns the number of bits added (0..7).
will be a multiple of 8. Returns the number of bits added (0..7).


``frombytes(bytes)``
Expand Down
2 changes: 1 addition & 1 deletion bitarray/_bitarray.c
Original file line number Diff line number Diff line change
Expand Up @@ -1267,7 +1267,7 @@ PyDoc_STRVAR(fill_doc,
"fill() -> int\n\
\n\
Adds zeros to the end of the bitarray, such that the length of the bitarray\n\
is not a multiple of 8. Returns the number of bits added (0..7).");
will be a multiple of 8. Returns the number of bits added (0..7).");


static PyObject *
Expand Down