Ed Leafe wrote: > On May 7, 2007, at 4:45 PM, Paul McNett wrote: > >> Any special reason why biz.scan() relies on uber-private variables >> __scanRestorePosition and __scanReverse? Why not make them >> arguments to >> the function call with default values of True and False, respectively? >> >> In any case, we shouldn't document them in the public docstring, as >> the >> user won't be able to (easily) tweak these values. > > To be honest, I don't have the faintest idea. I guess I must have > envisioned something Property-like to manage this, but this was > written long before we had settled on the current prop-centric design > for Dabo. > > Do you have any places where you use these?
I've never used them, but every time I look at the docs for scan() I see the __scanRestorePosition in the docstring and cringe slightly. I suppose they could be properties but I think they are better as args to the function. -- pkm ~ http://paulmcnett.com _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-dev Searchable Archives: http://leafe.com/archives/search/dabo-dev This message: http://leafe.com/archives/byMID/dabo-dev/[EMAIL PROTECTED]
