diff --git a/doc/v2/copy_non_const_reference.html b/doc/v2/copy_non_const_reference.html
index ea2a99c7..a33bba55 100644
--- a/doc/v2/copy_non_const_reference.html
+++ b/doc/v2/copy_non_const_reference.html
@@ -105,7 +105,7 @@ struct Foo {
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(my_module)
{
- module m("my_module")
+ module("my_module")
.add(
class_<Bar>()
)
diff --git a/doc/v2/manage_new_object.html b/doc/v2/manage_new_object.html
index 112e540f..342c49ce 100644
--- a/doc/v2/manage_new_object.html
+++ b/doc/v2/manage_new_object.html
@@ -104,7 +104,7 @@ Foo* make_foo(int x) { return new Foo(x); }
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(my_module)
{
- module m("my_module")
+ module("my_module")
.def("make_foo", make_foo)
.add(
class_<Foo>()
diff --git a/doc/v2/reference_existing_object.html b/doc/v2/reference_existing_object.html
index c5d39756..e7668a18 100644
--- a/doc/v2/reference_existing_object.html
+++ b/doc/v2/reference_existing_object.html
@@ -130,7 +130,7 @@ Singleton& get_it()
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(singleton)
{
- module m("singleton")
+ module("singleton")
.def("get_it", get_it)
.add(
class_<Singleton>()
diff --git a/doc/v2/return_value_policy.html b/doc/v2/return_value_policy.html
index 5741be8f..f351af70 100644
--- a/doc/v2/return_value_policy.html
+++ b/doc/v2/return_value_policy.html
@@ -118,7 +118,7 @@ struct Foo {
using namespace boost::python;
BOOST_PYTHON_MODULE_INIT(my_module)
{
- module m("my_module")
+ module("my_module")
.add(
class_<Bar>()
)