Re: [Tutor] [Python-Help] Instancing class issue

2013-08-15 Thread Dino Bektešević
Hello, The name of the variable doesn't matter, that's still what it does; you can > think of it as encapsulating any other keyword arguments. > > >>> def foo(bar, **kwargs): > ... print("bar: %s" % (bar,)) > ... print("kwargs: %r" % (kwargs,)) > ... > >>> foo("bar", b

Re: [Tutor] [Python-Help] Instancing class issue

2013-08-12 Thread Chris Down
Hi Dino, On 2013-08-12 20:32, Dino Bektešević wrote: > def __init__(self, **keys): > from . import util > > self.keys=keys > self.load() > > where I don't understand what **keys mean, I've only seen that as **kwargs > meaning other key words and arguments in examples.