We should actually use 'self' as the term for first argument/instance
This commit is contained in:
parent
47822d578e
commit
72c2f903ca
1 changed files with 1 additions and 1 deletions
|
@ -145,7 +145,7 @@ void export_map()
|
|||
.def(vector_indexing_suite<std::vector<Layer> >())
|
||||
;
|
||||
|
||||
class_<Map>("Map","The map object.",init<int,int,optional<std::string const&> >(args("Map","width","height","srs"),
|
||||
class_<Map>("Map","The map object.",init<int,int,optional<std::string const&> >(args("self","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:<code>')\n"
|
||||
"or with a Proj.4 literal ('+proj=<literal>').\n"
|
||||
|
|
Loading…
Reference in a new issue