From 47822d578ef21d69e9629cc63be368af4145045d Mon Sep 17 00:00:00 2001 From: Dane Springmeyer Date: Tue, 7 Apr 2009 23:17:57 +0000 Subject: [PATCH] Add argument aliases to __init__ method for easier/more understandable introspection - addresses #29 --- bindings/python/mapnik_map.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bindings/python/mapnik_map.cpp b/bindings/python/mapnik_map.cpp index cf36da68e..b3f02809b 100644 --- a/bindings/python/mapnik_map.cpp +++ b/bindings/python/mapnik_map.cpp @@ -145,7 +145,7 @@ void export_map() .def(vector_indexing_suite >()) ; - class_("Map","The map object.",init >( + class_("Map","The map object.",init >(args("Map","width","height","srs"), "Create a Map with a width and height as integers and, optionally,\n" "an srs string either with a Proj.4 epsg code ('+init=epsg:')\n" "or with a Proj.4 literal ('+proj=').\n"