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

Skip to content

Commit 9917498

Browse files
committed
[po] auto sync bot
1 parent eb47f6f commit 9917498

1 file changed

Lines changed: 18 additions & 17 deletions

File tree

faq/programming.po

Lines changed: 18 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -1677,7 +1677,7 @@ msgstr ""
16771677

16781678
#: ../../faq/programming.rst:1476
16791679
msgid "What is delegation?"
1680-
msgstr ""
1680+
msgstr "什么是代理?"
16811681

16821682
#: ../../faq/programming.rst:1478
16831683
msgid ""
@@ -1741,7 +1741,7 @@ msgstr ""
17411741

17421742
#: ../../faq/programming.rst:1538
17431743
msgid "How can I organize my code to make it easier to change the base class?"
1744-
msgstr ""
1744+
msgstr "如何组织代码以便更改基类?"
17451745

17461746
#: ../../faq/programming.rst:1540
17471747
msgid ""
@@ -1861,7 +1861,7 @@ msgstr ""
18611861

18621862
#: ../../faq/programming.rst:1654
18631863
msgid "There are several possible reasons for this."
1864-
msgstr ""
1864+
msgstr "这有几个可能的原因。"
18651865

18661866
#: ../../faq/programming.rst:1656
18671867
msgid ""
@@ -1910,7 +1910,7 @@ msgstr ""
19101910

19111911
#: ../../faq/programming.rst:1696
19121912
msgid "How do I get a list of all instances of a given class?"
1913-
msgstr ""
1913+
msgstr "如何获取给定类的所有实例的列表?"
19141914

19151915
#: ../../faq/programming.rst:1698
19161916
msgid ""
@@ -1921,7 +1921,7 @@ msgstr ""
19211921

19221922
#: ../../faq/programming.rst:1704
19231923
msgid "Why does the result of ``id()`` appear to be not unique?"
1924-
msgstr ""
1924+
msgstr "为什么 ``id()`` 的结果看起来不是唯一的?"
19251925

19261926
#: ../../faq/programming.rst:1706
19271927
msgid ""
@@ -1946,7 +1946,7 @@ msgstr "模块"
19461946

19471947
#: ../../faq/programming.rst:1733
19481948
msgid "How do I create a .pyc file?"
1949-
msgstr ""
1949+
msgstr "怎么创建.pyc文件?"
19501950

19511951
#: ../../faq/programming.rst:1735
19521952
msgid ""
@@ -2031,19 +2031,19 @@ msgstr ""
20312031

20322032
#: ../../faq/programming.rst:1800
20332033
msgid "How can I have modules that mutually import each other?"
2034-
msgstr ""
2034+
msgstr "怎样才能拥有相互导入的模块?"
20352035

20362036
#: ../../faq/programming.rst:1802
20372037
msgid "Suppose you have the following modules:"
2038-
msgstr ""
2038+
msgstr "假设您有以下模块:"
20392039

20402040
#: ../../faq/programming.rst:1804
20412041
msgid "foo.py::"
2042-
msgstr ""
2042+
msgstr "foo.py::"
20432043

20442044
#: ../../faq/programming.rst:1809
20452045
msgid "bar.py::"
2046-
msgstr ""
2046+
msgstr "bar.py::"
20472047

20482048
#: ../../faq/programming.rst:1814
20492049
msgid "The problem is that the interpreter will perform the following steps:"
@@ -2110,13 +2110,13 @@ msgstr ""
21102110
#: ../../faq/programming.rst:1838
21112111
msgid ""
21122112
"Jim Roskind suggests performing steps in the following order in each module:"
2113-
msgstr ""
2113+
msgstr "Jim Roskind建议在每个模块中按以下顺序执行步骤:"
21142114

21152115
#: ../../faq/programming.rst:1840
21162116
msgid ""
21172117
"exports (globals, functions, and classes that don't need imported base "
21182118
"classes)"
2119-
msgstr ""
2119+
msgstr "exports(全局变量,函数和不需要导入基类的类)"
21202120

21212121
#: ../../faq/programming.rst:1842
21222122
msgid "``import`` statements"
@@ -2145,7 +2145,7 @@ msgstr ""
21452145

21462146
#: ../../faq/programming.rst:1855
21472147
msgid "__import__('x.y.z') returns <module 'x'>; how do I get z?"
2148-
msgstr ""
2148+
msgstr "__import__('x.y.z') returns <module 'x'>; 如何获取z?"
21492149

21502150
#: ../../faq/programming.rst:1857
21512151
msgid ""
@@ -2157,7 +2157,7 @@ msgstr ""
21572157
msgid ""
21582158
"When I edit an imported module and reimport it, the changes don't show up. "
21592159
"Why does this happen?"
2160-
msgstr ""
2160+
msgstr "当我编辑导入的模块并重新导入它时,更改不会显示。为什么会这样?"
21612161

21622162
#: ../../faq/programming.rst:1866
21632163
msgid ""
@@ -2167,23 +2167,24 @@ msgid ""
21672167
"module, the basic module would be parsed and re-parsed many times. To force"
21682168
" re-reading of a changed module, do this::"
21692169
msgstr ""
2170+
"出于效率和一致性的原因,Python仅在第一次导入模块时读取模块文件。如果不这么做,在一个由许多模块组成的程序中,每个模块都会导入相同的基本模块,那么基本模块将被解析和重新解析多次。要强制重新读取已更改的模块,请执行以下操作::"
21702171

21712172
#: ../../faq/programming.rst:1876
21722173
msgid ""
21732174
"Warning: this technique is not 100% fool-proof. In particular, modules "
21742175
"containing statements like ::"
2175-
msgstr ""
2176+
msgstr "警告:这种技术不是100%万无一失。特别是包含如下语句的模块"
21762177

21772178
#: ../../faq/programming.rst:1881
21782179
msgid ""
21792180
"will continue to work with the old version of the imported objects. If the "
21802181
"module contains class definitions, existing class instances will *not* be "
21812182
"updated to use the new class definition. This can result in the following "
21822183
"paradoxical behaviour::"
2183-
msgstr ""
2184+
msgstr "将继续使用旧版本的导入对象。如果模块包含类定义,则不会更新现有的类实例以使用新的类定义。这可能导致以下矛盾行为::"
21842185

21852186
#: ../../faq/programming.rst:1894
21862187
msgid ""
21872188
"The nature of the problem is made clear if you print out the \"identity\" of"
21882189
" the class objects::"
2189-
msgstr ""
2190+
msgstr "如果打印出类对象的“标识”,问题的本质就会明确:"

0 commit comments

Comments
 (0)