Ensure we do not generate helper class for classes with subclassing disabled
This commit is contained in:
1 parent
391bf27353
commit
b47d59ac20
1 file changed
+1
-1
@@ -860,7 +860,7 @@ class CppClass(object):
|
||||
|
||||
def get_helper_class(self):
|
||||
"""gets the "helper class" for this class wrapper, creating it if necessary"""
|
||||
if self.helper_class_disabled:
|
||||
if self.helper_class_disabled or not self.allow_subclassing:
|
||||
return None
|
||||
if self.helper_class is None:
|
||||
if not self.is_singleton:
|
||||
|
||||
Reference in new issue
Block a user