From ca9cafaeecddaba5b99f30bc8ffced1039246057 Mon Sep 17 00:00:00 2001 From: "Gustavo J. A. M. Carneiro" Date: Fri, 23 May 2008 19:10:33 +0100 Subject: [PATCH] Remove a couple of FIXME exceptions --- pybindgen/cppclass.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/pybindgen/cppclass.py b/pybindgen/cppclass.py index 22961a5..030a91b 100644 --- a/pybindgen/cppclass.py +++ b/pybindgen/cppclass.py @@ -1055,12 +1055,10 @@ public: if len(args) == 1 and isinstance(args[0], CppConstructor): warnings.warn("add_constructor has changed API; see the API documentation", DeprecationWarning, stacklevel=2) - raise TypeError("FIXME: remove this exception") constructor = args[0] elif len(args) == 1 and isinstance(args[0], function.Function): warnings.warn("add_constructor has changed API; see the API documentation", DeprecationWarning, stacklevel=2) - raise TypeError("FIXME: remove this exception") func = args[0] constructor = CppFunctionAsConstructor(func.function_name, func.parameters) constructor.module = self.module