MCPcopy Create free account
hub / github.com/ActiveState/code / __init__

Method __init__

recipes/Python/117221_spell_checking/recipe-117221.py:8–10  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

6
7class ispell:
8 def __init__(self):
9 self._f = popen2.Popen3("ispell")
10 self._f.fromchild.readline() #skip the credit line
11 def __call__(self, word):
12 self._f.tochild.write(word+'\n')
13 self._f.tochild.flush()

Callers

nothing calls this directly

Calls 1

readlineMethod · 0.45

Tested by

no test coverage detected