In 2.4, 2.5 and 2.6 superclass constructor call don't need self as first arg
but 2.6 raises error if it's given.
---
 python/google/protobuf/reflection.py |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/python/google/protobuf/reflection.py 
b/python/google/protobuf/reflection.py
index d80942e..25dd04b 100755
--- a/python/google/protobuf/reflection.py
+++ b/python/google/protobuf/reflection.py
@@ -152,7 +152,7 @@ class GeneratedProtocolMessageType(type):
     _AddMessageMethods(descriptor, cls)
     _AddPrivateHelperMethods(cls)
     superclass = super(GeneratedProtocolMessageType, cls)
-    superclass.__init__(cls, name, bases, dictionary)
+    superclass.__init__(name, bases, dictionary)
 
 
 # Stateless helpers for GeneratedProtocolMessageType below.
-- 
1.5.6.5


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Protocol Buffers" group.
To post to this group, send email to protobuf@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/protobuf?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to