A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2011-July/112706.html below:

[Python-Dev] cpython (2.7): note Ellipsis syntax

[Python-Dev] cpython (2.7): note Ellipsis syntax [Python-Dev] cpython (2.7): note Ellipsis syntaxGreg Ewing greg.ewing at canterbury.ac.nz
Sun Jul 31 01:44:30 CEST 2011
Benjamin Peterson wrote:

> why would you use Ellipsis outside of slices?

I could imagine someone wanting to use it as part of a
function API. For example,

    print(a, b, c, ...)

would have been a nice way to tell print() not to put
a newline on the end.

-- 
Greg
More information about the Python-Dev mailing list

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4