Diff of /doc/source/overview/rules/backward_chaining.txt [74b0ca] .. [e67fdb]  Maximize  Restore

  Switch to side-by-side view

--- a/doc/source/overview/rules/backward_chaining.txt
+++ b/doc/source/overview/rules/backward_chaining.txt
@@ -114,8 +114,8 @@
 Running the Example
 ========================
 
-    >>> import pyke
-    >>> engine = pyke.engine('examples')
+    >>> from pyke import knowledge_engine
+    >>> engine = knowledge_engine.engine('examples')
     >>> engine.assert_('family', 'son_of', ('michael', 'bruce', 'marilyn'))
     >>> engine.assert_('family', 'son_of', ('bruce', 'thomas', 'norma'))
     >>> engine.assert_('family', 'daughter_of', ('norma', 'allen', 'ismay'))

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:





No, thanks