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/2012-July/121183.html below:

Update PEP-0424 with respect to feedback received.

[Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received. [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.Andrew Svetlov andrew.svetlov at gmail.com
Mon Jul 30 11:23:51 CEST 2012
On Mon, Jul 30, 2012 at 4:10 AM, alex.gaynor <python-checkins at python.org> wrote:

> +In addition, a new function ``operator.length`` hint is added

``operator.length`` or ``operator.length_hint``?

> +    def length_hint(obj, default):
Is there default value for `default` parameter?
For example:

def length_hint(obj, default=0):
    pass

or something like that?

-- 
Thanks,
Andrew Svetlov
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