|
From: Luke O. <lu...@me...> - 2003-04-18 21:11:56
|
For those who like things more explicit, I was asked to create a
forced TextCol (instead of letting StringCol handle both cases).
Result:
class TextCol(StringCol):
def __init__(self, *arg, **kw)
#throw away possible keywords
popKey(kw, 'length')
popKey(kw, 'varchar')
StringCol.__init__(self, *args, **kw)
Obviously it makes my life easier if it's checked in, but it's not too
important.
- Luke
--
Many people are hamstrung by things like affection for
fellow employees, honesty, desire to appear to be a
"nice person," and other crippling limitations not
suffered by the truly powerful and successful.
|