Stefan Eischet wrote: > I don't know if this particular syntax has been discussed already... > please feel free to bash me if it was. ;-) Bash bash. > How about using "is" after the def? Read the PEP. Basically the same as the "as" variant.