Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

Diff of /doc/source/logic_programming/rules/backward_chaining.txt [2f5b42] .. [c237fe] Maximize Restore

  Switch to side-by-side view

--- a/doc/source/logic_programming/rules/backward_chaining.txt
+++ b/doc/source/logic_programming/rules/backward_chaining.txt
@@ -273,7 +273,7 @@
     >>> from __future__ import with_statement
     >>> with engine.prove_n('bc_example', 'uncle_nephew', ('fred',), 2) as gen:
     ...     for vars, no_plan in gen:
-    ...         print vars
+    ...         print(vars)
     ('michael', ())