Commits

Cameron Simpson  committed 5bf3d01

cs.app.pilfer: action_operator: a couple of comments

  • Participants
  • Parent commits 71ee47c

Comments (0)

Files changed (1)

File lib/python/cs/app/pilfer.py

     one_to_one = ONE_TO_ONE
   if one_test is None:
     one_test = ONE_TEST
+  # parse action into function and kwargs
   action0 = action
   with Pfx("%s", action):
     kwargs = {}
               offset = len(action)
             if offset < len(action):
               raise ValueError("parse error at: %s" % (action[offset:],))
+    # we now have a function
+    # construct a RunTreeOp with the right signature
     fork_input = False
     fork_state = False
     if action == "per":