2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-20 04:42:28 +00:00

- reverted previous commit

[SVN r22313]
This commit is contained in:
Bruno da Silva de Oliveira
2004-02-18 15:33:34 +00:00
parent 89be2fb736
commit f4fb49d32f

View File

@@ -255,7 +255,11 @@ class ClassExporter(Exporter):
self.constructors = constructors[:]
# don't export constructors if the class is abstract
if self.class_.abstract:
constructors = []
for cons in constructors:
if cons.IsCopy():
constructors.remove(cons)
break
if not constructors:
# declare no_init
self.Add('constructor', py_ns + 'no_init')