Skip to content

Commit 6e70c75

Browse files
miss-islingtonguociStanFromIrelandAlexWaygood
authored
[3.14] gh-120057: add os.reload_environ to __all__ (GH-140763) (#140773)
Co-authored-by: Guo Ci <zguoci@gmail.com> Co-authored-by: Stan Ulbrych <89152624+StanFromIreland@users.noreply.github.com> Co-authored-by: Alex Waygood <Alex.Waygood@Gmail.com>
1 parent 0779ef9 commit 6e70c75

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
@@ -813,6 +813,7 @@ def reload_environ():
813813
env_data.clear()
814814
env_data.update(data)
815815

816+
__all__.append("reload_environ")
816817

817818
def getenv(key, default=None):
818819
"""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)