Commit 5e30d001 authored by 's avatar

merge from 2.3

parent 5b295ca4
...@@ -158,7 +158,7 @@ class Lexicon(Persistent, Implicit): ...@@ -158,7 +158,7 @@ class Lexicon(Persistent, Implicit):
def get(self, key, default=None): def get(self, key, default=None):
"""Return the matched word against the key.""" """Return the matched word against the key."""
return [self._lexicon.getWordId(key, default)] return [self._lexicon.get(key, default)]
def __getitem__(self, key): def __getitem__(self, key):
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment