From c94328cc271cf49305ac2666067f06301b088f03 Mon Sep 17 00:00:00 2001 From: lindakladivova Date: Wed, 24 Jun 2026 12:56:28 +0200 Subject: [PATCH] fixes typos --- python/grass/script/raster.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/python/grass/script/raster.py b/python/grass/script/raster.py index ebea64d6704..47f9d7f2542 100644 --- a/python/grass/script/raster.py +++ b/python/grass/script/raster.py @@ -515,7 +515,7 @@ class RegionManager: def __init__(self, env: dict[str, str] | None = None, **kwargs): """ - Initializes the MaskManager. + Initializes the RegionManager. :param env: Environment to use. Defaults to modifying :external:py:data:`os.environ`. @@ -603,7 +603,7 @@ class RegionManagerEnv: This is identical to: >>> with gs.RegionManagerEnv() as manager: - manager.env["GRASS_REGION"] = gs.region_env() + ... manager.env["GRASS_REGION"] = gs.region_env() ... gs.parse_command("r.univar", map="elevation", format="json") @@ -625,7 +625,7 @@ class RegionManagerEnv: def __init__(self, env: dict[str, str] | None = None, **kwargs): """ - Initializes the MaskManager. + Initializes the RegionManagerEnv. :param env: Environment to use. Defaults to modifying :external:py:data:`os.environ`. @@ -658,7 +658,7 @@ def activate(self): def deactivate(self): """Restore the previous region state. - Restores the original value of `WIND_OVERRIDE`. + Restores the original value of `GRASS_REGION`. :param exc_type: Exception type, if any. :param exc_val: Exception value, if any.