Преглед на файлове

Fixed another problem with process enactment in documentation

Yentl Van Tendeloo преди 7 години
родител
ревизия
282797d2ef
променени са 1 файла, в които са добавени 1 реда и са изтрити 1 реда
  1. 1 1
      doc/process_enactment.rst

+ 1 - 1
doc/process_enactment.rst

@@ -40,7 +40,7 @@ The call then becomes::
     ...     instantiate(None, "P2T", (p, t))
     ...     # Alternatively, we could have used raw_input() or so to prompt the user
     ...
-    >>> process_execute("models/query_state_space", "my_", {"models/refine_petrinet": callback})
+    >>> process_execute("models/query_state_space", {}, {"models/refine_petrinet": callback})
 
 When the process executes *refine_petrinet*, the callback function is executed, and the manual operation is terminated when the function terminates.
 Other types of operation, such as *model transformations* and *action language* can also have a callback function, but this is usually less important to end users and is therefore not elaborated on here.