disable Py::Exception(const std::string&) constructor as it will be removed in future PyCXX versions
This commit is contained in:
@@ -63,6 +63,7 @@ namespace Py
|
||||
explicit Exception ()
|
||||
{}
|
||||
|
||||
// This overloaded constructor will be removed in future PyCXX versions
|
||||
//Exception (const std::string &reason)
|
||||
//{
|
||||
// PyErr_SetString( Py::_Exc_RuntimeError(), reason.c_str() );
|
||||
|
||||
Reference in New Issue
Block a user