diff -uNr Plone-2.0.4.orig/Archetypes/ClassGen.py Plone-2.0.4/Archetypes/ClassGen.py
--- Plone-2.0.4.orig/Archetypes/ClassGen.py	2004-07-19 15:13:55.000000000 +0100
+++ Plone-2.0.4/Archetypes/ClassGen.py	2004-11-13 14:38:24.591029857 +0000
@@ -58,12 +58,15 @@
         # to access the method.
         # This code is renaming the internal name from e.g. generatedAccessor to
         # methodName.
-        method = function(method.func_code,
-                          method.func_globals,
-                          methodName,
-                          method.func_defaults,
-                          method.func_closure,
-                         )
+        ##
+        ## Doesn't work on Python 2.1.3, omitting.  alex@floop.org.uk
+        ##
+        # method = function(method.func_code,
+        #                          method.func_globals,
+        #                          methodName,
+        #                          method.func_defaults,
+        #                          method.func_closure,
+        #                         )
         setattr(klass, methodName, method)
 
         # Allow the method to be published (for XML-RPC)
