[pygtk] Possible error in the reference manual

Eric S. Raymond esr at snark.thyrsus.com
Tue Oct 21 23:33:47 WST 2008


I think I've spotted an error in the Reference:

--- pygtk-gobject.xml	(revision 3046)
+++ pygtk-gobject.xml	(working copy)
@@ -513,7 +513,7 @@
 <methodname>connect_object</methodname>() method. For example, a call with a
 function handler:</para>
       <programlisting>
-  handler_id = object("signal_name", handler, gobject)
+  handler_id = connect_object("signal_name", handler, gobject)
 </programlisting>
       <para>will cause the <parameter>handler</parameter> to be invoked
 as:</para>

If this is not an error, it need more explanation than it presently has.
-- 
		<a href="http://www.catb.org/~esr/">Eric S. Raymond</a>

"Those who make peaceful revolution impossible 
will make violent revolution inevitable."
	-- John F. Kennedy


More information about the pygtk mailing list