On Nov 6, 2010, at 5:55 AM, Fraser Burns wrote:
> append1x(), which is a shorthand for append(item, 1, "x")
>
> I thought that the proportion and layout parameters were positional
> arguments.
> In the signature for dSizer they are shown the other way around, and
> they don't seem to care.
> So Ed have you done a little bit of magic here?
Yep, just a little magic to make life easier! In dSizerMixin.py:
120 if isinstance(layout, int):
121 # proportion was passed first
122 layout, proportion = proportion, layout
-- Ed Leafe
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users
Searchable Archives: http://leafe.com/archives/search/dabo-users
This message:
http://leafe.com/archives/byMID/[email protected]