From 191a7ffece3422b70e3103ae25f2806dafb8fdf1 Mon Sep 17 00:00:00 2001 From: petr-tik Date: Sat, 10 Feb 2018 00:51:26 +0000 Subject: [PATCH] Change the docstring of trie_find Returns an int, docstring said it was a Bool --- trie.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/trie.c b/trie.c index 2ad46df..b03164d 100644 --- a/trie.c +++ b/trie.c @@ -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;