Skip to content

Commit

Permalink
Merge pull request piskvorky#357 from lukaselmer/patch-1
Browse files Browse the repository at this point in the history
Update doc comment to match implementation
  • Loading branch information
piskvorky committed Jun 12, 2015
2 parents 82b08bb + cbe49bd commit ac9beec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion gensim/corpora/wikicorpus.py
Original file line number Diff line number Diff line change
Expand Up @@ -184,7 +184,7 @@ def extract_pages(f, filter_namespaces=False):
"""
Extract pages from MediaWiki database dump.
Return an iterable over (str, str) which generates (title, content) pairs.
Return an iterable over (str, str, str) which generates (title, content, pageid) triplets.
"""
elems = (elem for _, elem in iterparse(f, events=("end",)))
Expand Down

0 comments on commit ac9beec

Please sign in to comment.