[pygtk] event handling

Felix Rabe (public) public at felixrabe.textdriven.com
Tue Sep 5 20:02:42 WST 2006


Hi,

You guessed, and it doesn't work.  Maybe you use a special kind of Python, but with the standard one ...

Brian wrote:
> As a space separated list.
> 
> dic = {"some_handle" : my_handler arg1 arg2,
>        "some_other_handle" : my_other_handler}
> 

$ python
>>> d = {"foo": 5 6 7}
  File "<stdin>", line 1
    d = {"foo": 5 6 7}
                  ^
SyntaxError: invalid syntax

---

Greetings,
Felix


More information about the pygtk mailing list