[Python-Dev] Switch statement (original) (raw)

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Jun 22 09:24:14 CEST 2006


Fredrik Lundh wrote:

Q: If a program calls the 'func' function below as 'func()' and ONE and TWO are both integer objects, what does 'func' ^^^^^^ Nothing at all, because you didn't call it!

-- Greg



More information about the Python-Dev mailing list