Diff of /doc/source/logic_programming/rules/backward_chaining.txt [9f7068] .. [4dca5a] 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
@@ -276,7 +276,7 @@
     >>> from __future__ import with_statement
     >>> with engine.prove_goal('bc_related.uncle_nephew(fred, $nephew, $distance)') as gen:
     ...     for vars, no_plan in gen:
-    ...         print vars['nephew'], vars['distance']
+    ...         print(vars['nephew'], vars['distance'])
     david ()