Skip to content

Commit b85e10f

Browse files
guociStanFromIrelandAlexWaygood
authored
gh-120057: add os.reload_environ to __all__ (#140763)
Co-authored-by: Stan Ulbrych <[email protected]> Co-authored-by: Alex Waygood <[email protected]>
1 parent c74793c commit b85e10f

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

Lib/os.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -832,6 +832,7 @@ def reload_environ():
832832
env_data.clear()
833833
env_data.update(data)
834834

835+
__all__.append("reload_environ")
835836

836837
def getenv(key, default=None):
837838
"""Get an environment variable, return None if it doesn't exist.
Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
Add :func:`os.reload_environ` to ``os.__all__``.

0 commit comments

Comments
 (0)