Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit a65a213

Browse files
[po] auto sync
1 parent a04e853 commit a65a213

1 file changed

Lines changed: 6 additions & 6 deletions

File tree

tutorial/classes.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@
55
#
66
# Translators:
77
# Jerry Chen <[email protected]>, 2017
8+
# Shengjing Zhu <[email protected]>, 2018
89
# ww song <[email protected]>, 2018
910
# Zombie110year <[email protected]>, 2019
1011
# Konge <[email protected]>, 2019
11-
# Shengjing Zhu <[email protected]>, 2019
1212
# KaMingChung <[email protected]>, 2020
1313
# Freesand Leo <[email protected]>, 2020
1414
# jaystone776 <[email protected]>, 2021
@@ -150,7 +150,7 @@ msgid ""
150150
"may both define a function ``maximize`` without confusion --- users of the "
151151
"modules must prefix it with the module name."
152152
msgstr ""
153-
"*namespace* (命名空间)是一个从名字到对象的映射。 大部分命名空间当前都由 Python "
153+
"*namespace* (命名空间)是一个从名字到对象的映射。 当前大部分命名空间都由 Python "
154154
"字典实现,但一般情况下基本不会去关注它们(除了要面对性能问题时),而且也有可能在将来更改。 下面是几个命名空间的例子:存放内置函数的集合(包含 "
155155
":func:`abs` 这样的函数,和内建的异常等);模块中的全局名称;函数调用中的局部名称。 从某种意义上说,对象的属性集合也是一种命名空间的形式。 "
156156
"关于命名空间的重要一点是,不同命名空间中的名称之间绝对没有关系;例如,两个不同的模块都可以定义一个 ``maximize`` 函数而不会产生混淆 ---"
@@ -181,7 +181,7 @@ msgid ""
181181
"remove the attribute :attr:`the_answer` from the object named by "
182182
"``modname``."
183183
msgstr ""
184-
"属性可以是只读或者可写的。如果为后者,那么对属性的赋值是可行的。模块属性是可以写,你可以写出 ``modname.the_answer = 42`` "
184+
"属性可以是只读或者可写的。如果为后者,那么对属性的赋值是可行的。模块属性是可写的,你可以写 ``modname.the_answer = 42`` "
185185
"。可写的属性同样可以用 :keyword:`del` 语句删除。例如, ``del modname.the_answer`` 将会从名为 "
186186
"``modname`` 的对象中移除 :attr:`the_answer` 属性。"
187187

@@ -197,9 +197,9 @@ msgid ""
197197
":mod:`__main__`, so they have their own global namespace. (The built-in "
198198
"names actually also live in a module; this is called :mod:`builtins`.)"
199199
msgstr ""
200-
"在不同时刻创建的命名空间拥有不同的生存期。包含内置名称的命名空间是在 Python "
200+
"命名空间在不同时刻被创建,拥有不同的生存期。包含内置名称的命名空间是在 Python "
201201
"解释器启动时创建的,永远不会被删除。模块的全局命名空间在模块定义被读入时创建;通常,模块命名空间也会持续到解释器退出。被解释器的顶层调用执行的语句,从一个脚本文件读取或交互式地读取,被认为是"
202-
" :mod:`__main__` 模块调用的一部分,因此它们拥有自己的全局命名空间。(内置名称实际上也存在于一个模块中;这个模块称作 "
202+
" :mod:`__main__` 模块调用的一部分,因此它们拥有自己的全局命名空间。(内置名称实际上也存在于一个模块中;这个模块被称作 "
203203
":mod:`builtins` 。)"
204204

205205
#: ../../tutorial/classes.rst:106
@@ -342,7 +342,7 @@ msgstr ""
342342
msgid ""
343343
"You can also see that there was no previous binding for *spam* before the "
344344
":keyword:`global` assignment."
345-
msgstr "您还可以在 :keyword:`global` 赋值之前看到之前没有 *spam* 的绑定。"
345+
msgstr "您还可以发现在 :keyword:`global` 赋值之前没有 *spam* 的绑定。"
346346

347347
#: ../../tutorial/classes.rst:212
348348
msgid "A First Look at Classes"

0 commit comments

Comments
 (0)