[sapug] TypeError: __init__() got multiple values for keyword argument 'value'
dt-sapug at handcraftedcomputers.com.au
Tue Apr 29 06:44:07 CEST 2008
Darryl Ross wrote:
> I'm sure I've worked out how to to this in the past, but the syntax is
> escaping me right now.
Python version? Under 2.5.1:
>>> t = Thingo()
>>> t = Thingo(1)
>>> t = Thingo(value = 11)
"I hate the Treasury jiggery-pokery / I keep my money in a piggery, locally.
It's funny but it's okely-dokely" -- "Do it in style", Keating!
More information about the sapug