8000 fix: 上下文 -> 情境 · python/python-docs-zh-tw@e650bde · GitHub
[go: up one dir, main page]

Skip to content

Commit e650bde

Browse files
authored
fix: 上下文 -> 情境
1 parent 6bd7243 commit e650bde

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

faq/design.po

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1229,7 +1229,7 @@ msgid ""
12291229
"iterator run to completion, no closing is needed. When it is, wrap it as "
12301230
"\"contextlib.closing(generator)\" in the 'with' statement."
12311231
msgstr ""
1232-
"出於技術原因,把產生器直接用作上下文 (context) 管理器會無法正常運作。因為通常"
1232+
"出於技術原因,把產生器直接用作情境 (context) 管理器會無法正常運作。因為通常"
12331233
"來說,產生器是被當成疊代器 (iterator),到最後完成時不需要被手動關閉。但如果你"
12341234
"需要的話,你可以在 with 陳述式裡用「contextlib.closing(generator)」來包裝他。"
12351235

0 commit comments

Comments
 (0)
0