Work at SourceForge, help us to make it a better place! We have an immediate need for a Support Technician in our San Francisco or Denver office.

Close

Diff of /doc/source/pyke_syntax/kqb_syntax.txt [9ac085] .. [0176eb] Maximize Restore

  Switch to unified view

a/doc/source/pyke_syntax/kqb_syntax.txt b/doc/source/pyke_syntax/kqb_syntax.txt
...
...
410
410
411
    >>> from pyke import knowledge_engine
411
    >>> from pyke import knowledge_engine
412
412
413
    >>> engine = knowledge_engine.engine('doc.examples')
413
    >>> engine = knowledge_engine.engine('doc.examples')
414
414
415
    >>> from StringIO import StringIO
415
    >>> from io import StringIO
416
    >>> import sys
416
    >>> import sys
417
    >>> class echo(object):
417
    >>> class echo(object):
418
    ...     def __init__(self, f): self.f = f
418
    ...     def __init__(self, f): self.f = f
419
    ...     def readline(self):
419
    ...     def readline(self):
420
    ...         ans = self.f.readline()
420
    ...         ans = self.f.readline()