Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commitad10366

Browse files
committed
Address review: complete doc
1 parent0a00444 commitad10366

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

‎Doc/library/os.rst‎

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -245,8 +245,13 @@ process and user.
245245
..function::reload_environ()
246246

247247
Update:data:`os.environ` and:data:`os.environb` with changes to the
248-
environment made by:func:`os.putenv`, by:func:`os.unsetenv`, or made
249-
outside Python in the same process.
248+
current process environment made by:func:`os.putenv`, by
249+
:func:`os.unsetenv`, or made outside Python in the same process.
250+
251+
This function is not thread safe. Calling it while the environment is
252+
modified in other thread has undefined behavior. Reading from
253+
:data:`os.environ` or calling:func:`os.getenv` during reloading can return
254+
empty result.
250255

251256
..versionadded::3.14
252257

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp