Juan Javier <jjdomingu...@gmail.com> added the comment:

I would like the method to have the exact same behavior as before if the 
"default" argument is not present, and return the given default value when 
"deafult" argument is present.

If you simply add a "default" keyword, it will always be present and you 
wouldn't know if the user wants the exception thrown or the default value 
returned.

Do you know how to program this using a "default" keyword argument?

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue6751>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to