How can I make a function equal to 0?

Ben Finney bignose+hates-spam at benfinney.id.au
Fri Mar 21 17:22:10 EDT 2008


Martin Manns <mmanns at gmx.net> writes:

> I do not want the function to return 0 but to equal 0.

Then it seems you don't want a function, but something else. Functions
are functions, not integers.

What problem are you trying to solve, and why do you think this
behaviour will help?

-- 
 \       "Pinky, are you pondering what I'm pondering?" "Well, I think |
  `\    so, Brain, but 'apply North Pole' to what?"  -- _Pinky and The |
_o__)                                                           Brain_ |
Ben Finney



More information about the Python-list mailing list