title: how to pass multiple function parameters in dictionary?
body: <p>I have this pattern already in use, 
  but I'm trying now to pass multiple parameters to the function
  should I just add another parameter or is there another syntactical piece I'm
  missing?</p>
  
  <pre><code>    def newChannel(hname, cname):
          pass
  
      action = {'newChannel': (newChannel, hname),
           'newNetwork': (newNetwork, cname) , 'loginError': (loginError, nName)}
  
      handler, param = action.get(eventType)
      handler(param)
  </code></pre>
  
  <p>How can i pass multiple params though?
  like such......</p>
  
  <pre><code>    action = { 'newChannel': (newChannel, hname, cname) } 
  </code></pre>
  
  <p>is that correct?</p>
  
  <p>EDIT:
  Would this fly?</p>
  
  <pre><code>    action = {'newChannelQueueCreated': (newChannelQueueCreated, (channelName, timestamp)), 'login':    
      (login, networkName), 'pushSceneToChannel': (pushSceneToChannel, channelName),  
      'channelRemovedFromNetwork': (channelRemovedFromNetwork, (channelName, timestamp))}
       print ok 
       handler, getter  = action.get(eventType(ok))
       handler(*getter(ok)) 
  </code></pre>