Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Python > Re: Passing functions as parameter (multiprocessing)

Reply
Thread Tools

Re: Passing functions as parameter (multiprocessing)

 
 
Peter Otten
Guest
Posts: n/a
 
      11-13-2012
Oscar Benjamin wrote:

> I don't know if this is to do with the way that the code was
> simplified before posting but this subproc function wrapper does
> nothing (even after Peter fixed it below). This code is needlessly
> complicated for what it does.


Jean-Michel's Post had the following comment preceding his subproc()
definition

>>> # here it should be decorated, but for this example to be kept
>>> simple, the function is only wrapped, doing nothing special


which I unhelpfully removed...

 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Re: Passing functions as parameter (multiprocessing) Oscar Benjamin Python 0 11-13-2012 03:28 PM
Re: Passing functions as parameter (multiprocessing) MRAB Python 0 11-13-2012 12:51 PM
Re: Passing functions as parameter (multiprocessing) Peter Otten Python 0 11-13-2012 12:51 PM
Passing parameter to function not expecting parameter Mister B C Programming 8 08-26-2010 08:01 AM
please help me in distinguish redefining functions, overloading functions and overriding functions. Xiangliang Meng C++ 1 06-21-2004 03:11 AM



Advertisments