diff --git a/include/boost/python/detail/defaults_def.hpp b/include/boost/python/detail/defaults_def.hpp index 68799f83..9ce98a62 100644 --- a/include/boost/python/detail/defaults_def.hpp +++ b/include/boost/python/detail/defaults_def.hpp @@ -168,7 +168,7 @@ namespace detail char const* doc) { // define the NTH stub function of stubs - define_stub_function::define(name, stubs, kw, policies, name_space, doc); + define_stub_function::define(name, stubs, kw, policies, name_space, 0); if (kw.second > kw.first) --kw.second; diff --git a/include/boost/python/init.hpp b/include/boost/python/init.hpp index ce52531c..a07359e6 100644 --- a/include/boost/python/init.hpp +++ b/include/boost/python/init.hpp @@ -363,7 +363,7 @@ namespace detail , char const* doc , detail::keyword_range keywords) { - detail::def_init_aux(cl, args, NArgs(), policies, doc, keywords); + detail::def_init_aux(cl, args, NArgs(), policies, 0, keywords); if (keywords.second > keywords.first) --keywords.second;