Commit 8a302800 authored by Jason Madden's avatar Jason Madden

sigh, Extension is an old-style class on python 2.

parent b00780d0
...@@ -173,4 +173,6 @@ class Extension(_Extension): ...@@ -173,4 +173,6 @@ class Extension(_Extension):
def __init__(self, *args, **kwargs): def __init__(self, *args, **kwargs):
self.libraries = [] self.libraries = []
self.define_macros = [] self.define_macros = []
super(Extension, self).__init__(*args, **kwargs) # Python 2 has this as an old-style class for some reason
# so super() doesn't work.
_Extension.__init__(self, *args, **kwargs) # pylint:disable=no-member,non-parent-init-called
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