mirror of
https://github.com/mapnik/mapnik.git
synced 2025-12-08 20:13:09 +00:00
+ add __neq__ operator : ( self != self )
This commit is contained in:
parent
1d2abb8206
commit
6a92e63cc1
@ -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,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user