From 6a92e63cc1009fbb2a75fb70f732b92a1fded984 Mon Sep 17 00:00:00 2001 From: Artem Pavlenko Date: Tue, 7 Jun 2011 16:14:26 +0000 Subject: [PATCH] + add __neq__ operator : ( self != self ) --- bindings/python/mapnik_color.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/bindings/python/mapnik_color.cpp b/bindings/python/mapnik_color.cpp index 83e93b4ef..dd3543ba0 100644 --- a/bindings/python/mapnik_color.cpp +++ b/bindings/python/mapnik_color.cpp @@ -81,6 +81,7 @@ void export_color () "Gets or sets the alpha component.\n" "The value is between 0 and 255.\n") .def(self == self) + .def(self != self) .def_pickle(color_pickle_suite()) .def("__str__",&color::to_string) .def("to_hex_string",&color::to_hex_string,