[Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received. (original) (raw)
Ifthikhan Nazeem iftecan2000 at gmail.com
Mon Jul 30 20:49:32 CEST 2012
- Previous message: [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.
- Next message: [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
The question is not very clear. Are you asking whether function arguments can have default parameters?
-- Thanks Iftikhan Nazeem LinkedIn : http://ae.linkedin.com/in/ifthikhan<http://ae.linkedin.com/in/iftikhan>
On Mon, Jul 30, 2012 at 11:23 AM, Andrew Svetlov <andrew.svetlov at gmail.com>wrote:
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 addedoperator.length
oroperator.lengthhint
? > + def lengthhint(obj, default): Is there default value fordefault
parameter? For example: def lengthhint(obj, default=0): pass or something like that? -- Thanks, Andrew Svetlov
Python-Dev mailing list Python-Dev at python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/iftecan2000%40gmail.com -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://mail.python.org/pipermail/python-dev/attachments/20120730/deda9854/attachment.html>
- Previous message: [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.
- Next message: [Python-Dev] [Python-checkins] peps: Update PEP-0424 with respect to feedback received.
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]