Sure, GvR covered my question in much more clean way in http://code.activestate.com/lists/python-dev/117152/ On Mon, Jul 30, 2012 at 9:49 PM, Ifthikhan Nazeem <iftecan2000 at gmail.com> wrote: > 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 > > > 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 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 >> _______________________________________________ >> 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 > > -- Thanks, Andrew Svetlov
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