[Bf-committers] python mathutils api update proposal

Martin Poirier theeth at yahoo.com
Fri Feb 4 03:25:04 CET 2011



--- On Thu, 2/3/11, Campbell Barton <ideasman42 at gmail.com> wrote:

> As Alex suggests, keywords only args could be used in this
> case:
> Euler(x, y, x, order='XZY')
> I don't see this as especially better or worse, just
> different, but I'm also not interested to change.

order is an optional argument with default value 'XYZ'. Optional arguments are often specified by name, so it would fit. Not a strong preference, but a small one from me. (I'm not too fussed with either however).

Martin




More information about the Bf-committers mailing list