circuitpython/shared-module/os
Jeff Epler 7a005aa96b
break out after reading the value
This is a small optimization, it avoids reading the full file when an
early key is requested.

In the case of an *invalid* TOML file such as
```
K=80
K=81
```
this stops the value of K actually returned being 8081 and makes it 80
instead; but as it's a malformed file it doesn't really matter much.
2022-12-28 13:24:38 -06:00
..
__init__.c Withdraw the _environ module 2022-12-08 15:33:10 -06:00
__init__.h Print errors to repl about getenv 2022-12-26 10:53:58 -06:00
getenv.c break out after reading the value 2022-12-28 13:24:38 -06:00