Commit eb241fad authored by kenton@google.com's avatar kenton@google.com

Fix call to superclass.__init__() to work on newer versions of Python.

parent a001ed0c
......@@ -153,7 +153,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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment