What is the precise specification of the builtin "print" function.
Does it call "str", or does it just behave as if the builtin str had
been called?

In 2.5, the print statement ignores any overrides of the str builtin,
but I'm not sure whether a _function_ should -- and I do think it
should be specified.

-jJ

On 3/21/08, georg.brandl <[EMAIL PROTECTED]> wrote:
>  New Revision: 61709

==============================================================================

>  +++ python/trunk/Doc/library/functions.rst      Fri Mar 21 20:37:57 2008
>  @@ -817,6 +817,33 @@

...
>  +.. function:: print([object, ...][, sep=' '][, end='\n'][, file=sys.stdout])
...

>  +   All non-keyword arguments are converted to strings like :func:`str` does
_______________________________________________
Python-Dev mailing list
Python-Dev@python.org
http://mail.python.org/mailman/listinfo/python-dev
Unsubscribe: 
http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com

Reply via email to