[GRASS-git] [OSGeo/grass] f808a6: doc: Fix bugs in Python introduction and interface...
Vaclav Petras
noreply at github.com
Thu May 14 13:34:12 PDT 2026
Branch: refs/heads/main
Home: https://github.com/OSGeo/grass
Commit: f808a6d29a489b6126594e8339f8b2b1c22df013
https://github.com/OSGeo/grass/commit/f808a6d29a489b6126594e8339f8b2b1c22df013
Author: Vaclav Petras <wenzeslaus at gmail.com>
Date: 2026-05-14 (Thu, 14 May 2026)
Changed paths:
M doc/interfaces_overview.md
M doc/python_intro.md
Log Message:
-----------
doc: Fix bugs in Python introduction and interfaces overview examples (#7359)
grass.tools snippets:
- Drop the trailing underscore from r_import_.
- Fix syntax errors in the v_info and g_region calls.
PyGRASS snippets:
- Use consistent variable names and the correct existence-check method in the Vector example.
- Import VectorTopo where it is used.
- Use the correct method names, attribute accessor, and length comparison in the line-filtering example.
- Add the missing random module import and correct the uniform argument order.
- Match the second SQL output example to its query.
- Fix typos.
All snippets were tested against the nc_basic_spm_grass7 sample dataset with Claude extracting the examples and running them.
To unsubscribe from these emails, change your notification settings at https://github.com/OSGeo/grass/settings/notifications
More information about the grass-commit
mailing list