[Zope3-checkins] CVS: Zope3/src/zope/component/tests - components.py:1.4

Guido van Rossum guido@python.org
Tue, 18 Feb 2003 14:40:29 -0500


Update of /cvs-repository/Zope3/src/zope/component/tests
In directory cvs.zope.org:/tmp/cvs-serv8829

Modified Files:
	components.py 
Log Message:
Add a dummy __init__ to the 'Comp' class so its constructor accepts
arguments (Python 2.3 doesn't throw away constructor args by default).



=== Zope3/src/zope/component/tests/components.py 1.3 => 1.4 ===
--- Zope3/src/zope/component/tests/components.py:1.3	Mon Jan 27 12:32:10 2003
+++ Zope3/src/zope/component/tests/components.py	Tue Feb 18 14:40:29 2003
@@ -55,6 +55,10 @@
     __used_for__ = IContent
     __implements__ = IApp
 
+    def __init__(self, *args):
+        # Ignore arguments passed to constructor
+        pass
+
     a=1
     def f(): pass