diff --git a/bindings/python/mapnik_color.cpp b/bindings/python/mapnik_color.cpp index 42062f5f2..4f16e842e 100644 --- a/bindings/python/mapnik_color.cpp +++ b/bindings/python/mapnik_color.cpp @@ -53,6 +53,6 @@ void export_color () .def(self == self) .def_pickle(color_pickle_suite()) ; - def("color_from_string",&create_from_string); + def("Color",&create_from_string); } diff --git a/bindings/python/mapnik_filter.cpp b/bindings/python/mapnik_filter.cpp index bdfea5fb8..2365f96d8 100644 --- a/bindings/python/mapnik_filter.cpp +++ b/bindings/python/mapnik_filter.cpp @@ -41,5 +41,5 @@ void export_filter() class_,boost::noncopyable>("Filter","An expression which allows to select features.",no_init) .def("__str__",&filter::to_string); ; - def("filter",&create_filter); + def("Filter",&create_filter); } diff --git a/bindings/python/mapnik_layer.cpp b/bindings/python/mapnik_layer.cpp index fe0786b46..a120d3008 100644 --- a/bindings/python/mapnik_layer.cpp +++ b/bindings/python/mapnik_layer.cpp @@ -114,5 +114,5 @@ void export_layer() (&Layer::styles,return_value_policy())) .def_pickle(layer_pickle_suite()) ; - def("create_layer",&create_layer); + def("Layer",&create_layer); }