diff options
Diffstat (limited to 'examples/gobject/signal.py')
-rw-r--r-- | examples/gobject/signal.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/examples/gobject/signal.py b/examples/gobject/signal.py index 3ac4235a..26ddae93 100644 --- a/examples/gobject/signal.py +++ b/examples/gobject/signal.py @@ -9,16 +9,16 @@ class C(gobject.GObject): def __init__(self): self.__gobject_init__() # default constructor using our new GType def do_my_signal(self, arg): - print "C: class closure for `my_signal' called with argument", arg + print "C: class closure for `my_signal' called with argument", arg class D(C): def do_my_signal(self, arg): - print "D: class closure for `my_signal' called. Chaining up to C" - C.do_my_signal(self, arg) + print "D: class closure for `my_signal' called. Chaining up to C" + C.do_my_signal(self, arg) def my_signal_handler(object, arg, *extra): print "handler for `my_signal' called with argument", arg, \ - "and extra args", extra + "and extra args", extra inst = C() inst2 = D() |