<div dir="ltr"><div>typo on <a href="https://grasswiki.osgeo.org/wiki/Python/pygrass#Sample_PyGRASS_scripts">https://grasswiki.osgeo.org/wiki/Python/pygrass#Sample_PyGRASS_scripts</a><br><br></div>Under the header<span class="" id="Interface_to_listing_maps_.28g.list.2Fg.mlist.29"> "Interface to listing maps (g.list/g.mlist)", second example with </span>"glist" method of the Mapset class, it reads:<br><div><pre class="">m.<span class="">glist</span><span class="">(</span><span class="">'rast'</span><span class="">,</span> pattern<span class="">=</span><span class="">'elev-*'</span><span class="">)</span></pre>This perhaps works for GRASS 6.4, but for GRASS 7.0 the first argument should be 'raster'. In the example above, the syntax for both 6.4 and 7.0 is given.<br></div></div>