#5405: [with patch, needs review] create a decorator for adding default keyword
arguments to a function
-------------------------+--------------------------------------------------
Reporter: mhansen | Owner: cwitty
Type: enhancement | Status: new
Priority: minor | Milestone: sage-3.4.2
Component: misc | Keywords:
-------------------------+--------------------------------------------------
Comment(by nthiery):
Hi Mike!
I am not so sure about the name, although I can't propose much better than
default_values, or set_default_values.
Could it be generalized to handle both positional and non positional
arguments?
I'd suggest to have the doc by starting with what the thing actually does,
followed by the typical usage.
Speaking of which: could you add an example of this typical usage? (it was
not clear to me).
--
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5405#comment:1>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"sage-trac" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/sage-trac?hl=en
-~----------~----~----~----~------~----~------~--~---