diff --git a/Lib/plat-riscos/riscosenviron.py b/Lib/plat-riscos/riscosenviron.py index 67c75d1daea..e011a9bc9c4 100644 --- a/Lib/plat-riscos/riscosenviron.py +++ b/Lib/plat-riscos/riscosenviron.py @@ -19,7 +19,7 @@ def __getitem__(self, key): else: raise KeyError def __setitem__(self, key, item): - riscos.setenv(key, item) + riscos.putenv(key, item) def __delitem__(self, key): riscos.delenv(key) def clear(self):