コード例 #1
0
ファイル: __init__.py プロジェクト: DKaman/pyenchant
 def add(self,word):
     """Add a word to the user's personal word list."""
     self._check_this()
     word = EnchantStr(word)
     _e.dict_add(self._this,word.encode())
コード例 #2
0
ファイル: __init__.py プロジェクト: FlickDUB/pyenchant
 def add(self, word):
     """Add a word to the user's personal word list."""
     self._check_this()
     _e.dict_add(self._this, word.encode())
コード例 #3
0
ファイル: __init__.py プロジェクト: inexist3nce/Taigabot
 def add(self,word):
     """Add a word to the user's personal word list."""
     self._check_this()
     word = self._StringClass(word)
     _e.dict_add(self._this,word.encode())