@@ -17,7 +17,7 @@ msgid ""
1717msgstr ""
1818"Project-Id-Version : Python 3.8\n "
1919"Report-Msgid-Bugs-To : \n "
20- "POT-Creation-Date : 2020-01-01 12:19 +0000\n "
20+ "POT-Creation-Date : 2020-01-24 12:31 +0000\n "
2121"PO-Revision-Date : 2017-02-16 23:39+0000\n "
2222"
Last-Translator :
Freesand Leo <[email protected] >, 2020\n "
2323"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -281,18 +281,15 @@ msgstr ""
281281
282282#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/classes.rst:146
283283msgid ""
284- "A special quirk of Python is that -- if no :keyword:`global` statement is in"
285- " effect -- assignments to names always go into the innermost scope. "
286- "Assignments do not copy data --- they just bind names to objects. The same "
287- "is true for deletions: the statement ``del x`` removes the binding of ``x`` "
288- "from the namespace referenced by the local scope. In fact, all operations "
289- "that introduce new names use the local scope: in particular, "
290- ":keyword:`import` statements and function definitions bind the module or "
291- "function name in the local scope."
292- msgstr ""
293- "Python 的一个特殊之处在于 -- 如果不存在生效的 :keyword:`global` 语句 -- 对名称的赋值总是进入最内层作用域。 "
294- "赋值不会复制数据 --- 它们只是将名称绑定到对象。 删除也是如此:语句 ``del x`` 会从局部命名空间的引用中移除对 ``x`` 的绑定。 "
295- "事实上,所有引入新名称的操作都使用局部作用域:特别地,:keyword:`import` 语句和函数定义会在局部作用域中绑定模块或函数名称。"
284+ "A special quirk of Python is that -- if no :keyword:`global` or "
285+ ":keyword:`nonlocal` statement is in effect -- assignments to names always go"
286+ " into the innermost scope. Assignments do not copy data --- they just bind "
287+ "names to objects. The same is true for deletions: the statement ``del x`` "
288+ "removes the binding of ``x`` from the namespace referenced by the local "
289+ "scope. In fact, all operations that introduce new names use the local "
290+ "scope: in particular, :keyword:`import` statements and function definitions "
291+ "bind the module or function name in the local scope."
292+ msgstr ""
296293
297294#: /home/travis/build/python/cpython-doc-catalog/Doc/tutorial/classes.rst:154
298295msgid ""
0 commit comments