Chris Jerdonek added the comment: You can also make that distinction using *. For example:
.. function:: attrgetter(attr, *attrs) or .. function:: attrgetter(attr) attrgetter(attr1, attr2, *attrs) (cf. http://docs.python.org/dev/library/functions.html#max ) Elsewhere we started to prefer using two signature lines where two or more "behaviors" are possible, which might be good to do in any case. With the "..." notation, this would look like: .. function:: attrgetter(attr) attrgetter(attr1, attr2, ...) ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16523> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com