[Python-Dev] Replacement for print in Python 3.0

Bill Janssen janssen at parc.com
Thu Sep 1 22:43:06 CEST 2005

I see this is Fredrik's earlier suggestion.


I (reduntantly) wrote:
> Is there a syntax trick here?  Suppose start-of-the-line function
> names not followed by an open-paren, but followed by comma-separated
> lists of expressions, were treated as if the rest of the line were
> arguments to a function.  That is, suppose
>   print "foo", 3, dir(sys)
> was automagically converted to
>   print ("foo", 3, dir(sys))

More information about the Python-Dev mailing list