On 18/09/2017 15:04, Gregory Ewing wrote:
Dennis Lee Bieber wrote:
Pascal
provides print()/println() [okay, not /statements/ but /procedures/]
Actually write/writeln, and although they used parens like
procedures, they had special syntax for output formatting
that wasn't available to user-defined procedures, so they
were at least as special as the py2 print, maybe more so.
They HAD to be special, because that language was statically typed. You
couldn't define a user-code procedure or function that took all possible
types.
That doesn't apply in Python, but it is still useful for print to be a
little special.
--
bartc
--
https://mail.python.org/mailman/listinfo/python-list