Antoine Pitrou added the comment:

> Suggestion: if you want to go that way, return a single number if `amount` is 
> not provided (so make the default value for `amount` None rather than 1). If 
> `amount=1` is explicitly given, a list containing one item should be returned.

+1

----------

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

Reply via email to