Skip to content

Commit

Permalink
Document the VERSION weirdness (see #68)
Browse files Browse the repository at this point in the history
  • Loading branch information
polm committed Jun 23, 2021
1 parent 3152f22 commit 99e2ae1
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/MeCab/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,13 @@ def _reexport_filtered(thismod, submod):
#
# Version information
#
# Note that this is the version of MeCab, not of mecab-python3. Since MeCab
# hasn't been updated since roughly 2013 this has been 0.996 for years and is
# unlikely to ever change.
#
# This is preserved to avoid breaking API compatibility, but should be removed
# in v2, should that ever happen.
#

VERSION = _MeCab.Tagger_version()
__all__.append("VERSION")
Expand Down

0 comments on commit 99e2ae1

Please sign in to comment.