Quantcast
Channel: Passing multiple tuples with default parameters - Stack Overflow
Browsing all 2 articles
Browse latest View live

Answer by Jean-François Fabre for Passing multiple tuples with default...

That seems difficult to achieve as-is, but you could create an helper function which wraps the arguments and creates a tuple of positional & keyword args for each tuple. Call that mkarg (make...

View Article



Passing multiple tuples with default parameters

I realize this might be a somewhat strange request, but I'd like to have a method accept an arbitrary amount of tuples in Python 3, each tuple with default parameters. The reason I'd like to do this is...

View Article
Browsing all 2 articles
Browse latest View live




Latest Images