Skip to content

Commit

Permalink
Change the docstring of trie_find
Browse files Browse the repository at this point in the history
Returns an int, docstring said it was a Bool
  • Loading branch information
petr-tik committed Feb 10, 2018
1 parent 06066e0 commit 191a7ff
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion trie.c
Original file line number Diff line number Diff line change
Expand Up @@ -109,7 +109,7 @@ static PyObject *trie_add(trie *self, PyObject *args) {
return Py_BuildValue(""); // returns None
}

static char find_docstring[] = "Returns True/False if word in trie or not";
static char find_docstring[] = "Returns 1/0 if word in trie or not";
static PyObject *trie_find(trie *self, PyObject *args) {
const char *word;
int word_length = 0;
Expand Down

0 comments on commit 191a7ff

Please sign in to comment.