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/html/knowledge_bases/special.html [9ac085] .. [0176eb] Maximize Restore

  Switch to side-by-side view

--- a/doc/html/knowledge_bases/special.html
+++ b/doc/html/knowledge_bases/special.html
@@ -207,7 +207,7 @@
 >>> engine.prove_1('special', 'check_command', (('false',),), 0)
 Traceback (most recent call last):
     ...
-CanNotProve: Can not prove special.check_command((false))
+pyke.knowledge_engine.CanNotProve: Can not prove special.check_command((false))
 </pre>
 </blockquote>
 </div>
@@ -235,7 +235,7 @@
 ...                        pattern.pattern_literal(stdin))) \
 ...       as gen:
 ...         for no_plan in gen:
-...             print output.as_data(my_context)
+...             print(output.as_data(my_context))
 &gt;&gt;&gt; run_command('command', ('echo', 'hi', 'mom'))
 ('hi mom',)
 &gt;&gt;&gt; run_command('command', ('ls',))   # doctest: +NORMALIZE_WHITESPACE
@@ -261,7 +261,7 @@
 &gt;&gt;&gt; run_command('command', ('false',))
 Traceback (most recent call last):
     ...
-CalledProcessError: Command 'false' returned non-zero exit status 1
+subprocess.CalledProcessError: Command 'false' returned non-zero exit status 1
 </pre>
 </blockquote>
 </div>