@@ -278,7 +278,7 @@ msgid ""
278278"construct."
279279msgstr ""
280280"已经有许多替代方案提案。 "
281- "大多数是黑客提交的,目的是少打一些字 ,但使用任意或隐含的语法或关键词,并不符合语言变更提案的简单标准:它应该直观地向尚未被介绍到这一概念的人类读者提供正确的含义。"
281+ "大多数是为了少打一些字的黑客方案 ,但使用任意或隐含的语法或关键词,并不符合语言变更提案的简单标准:它应该直观地向尚未被介绍到这一概念的人类读者提供正确的含义。"
282282
283283#: ../../faq/design.rst:188
284284msgid ""
@@ -415,7 +415,8 @@ msgid ""
415415"obeys the rules for sequence objects, including any new classes you might "
416416"define yourself. Similar methods exist for bytes and bytearray objects."
417417msgstr ""
418- ":meth:`~str.join`是String方法,因为在使用该方法时,您告诉分隔符字符串迭代一系列字符串并在相邻元素之间插入自身。此方法可用于任何遵循序列对象规则的参数,包括您可能定义的任何新类。对于字节和字节数组对象也存在类似的方法。"
418+ ":meth:`~str.join` "
419+ "是字符串方法,因为在使用该方法时,您告诉分隔符字符串去迭代一个字符串序列,并在相邻元素之间插入自身。此方法的参数可以是任何遵循序列规则的对象,包括您自己定义的任何新的类。对于字节和字节数组对象也有类似的方法。"
419420
420421#: ../../faq/design.rst:280
421422msgid "How fast are exceptions?"
@@ -443,7 +444,7 @@ msgstr ""
443444
444445#: ../../faq/design.rst:306
445446msgid "Why isn't there a switch or case statement in Python?"
446- msgstr ""
447+ msgstr "为什么Python中没有switch或case语句? "
447448
448449#: ../../faq/design.rst:308
449450msgid ""
@@ -497,7 +498,7 @@ msgstr ""
497498
498499#: ../../faq/design.rst:357
499500msgid "Why can't lambda expressions contain statements?"
500- msgstr ""
501+ msgstr "为什么lambda表达式不能包含语句? "
501502
502503#: ../../faq/design.rst:359
503504msgid ""
@@ -520,7 +521,7 @@ msgstr ""
520521
521522#: ../../faq/design.rst:373
522523msgid "Can Python be compiled to machine code, C or some other language?"
523- msgstr ""
524+ msgstr "可以将Python编译为机器代码,C或其他语言吗? "
524525
525526#: ../../faq/design.rst:375
526527msgid ""
@@ -533,7 +534,7 @@ msgstr ""
533534
534535#: ../../faq/design.rst:383
535536msgid "How does Python manage memory?"
536- msgstr ""
537+ msgstr "Python如何管理内存? "
537538
538539#: ../../faq/design.rst:385
539540msgid ""
@@ -578,7 +579,7 @@ msgstr ""
578579
579580#: ../../faq/design.rst:421
580581msgid "Why doesn't CPython use a more traditional garbage collection scheme?"
581- msgstr ""
582+ msgstr "为什么CPython不使用更传统的垃圾回收方案? "
582583
583584#: ../../faq/design.rst:423
584585msgid ""
@@ -601,7 +602,7 @@ msgstr ""
601602
602603#: ../../faq/design.rst:438
603604msgid "Why isn't all memory freed when CPython exits?"
604- msgstr ""
605+ msgstr "CPython退出时为什么不释放所有内存? "
605606
606607#: ../../faq/design.rst:440
607608msgid ""
@@ -621,7 +622,7 @@ msgstr ""
621622
622623#: ../../faq/design.rst:452
623624msgid "Why are there separate tuple and list data types?"
624- msgstr ""
625+ msgstr "为什么有单独的元组和列表数据类型? "
625626
626627#: ../../faq/design.rst:454
627628msgid ""
@@ -654,7 +655,7 @@ msgstr ""
654655
655656#: ../../faq/design.rst:475
656657msgid "How are lists implemented in CPython?"
657- msgstr ""
658+ msgstr "如何在CPython中实现列表? "
658659
659660#: ../../faq/design.rst:477
660661msgid ""
@@ -680,7 +681,7 @@ msgstr ""
680681
681682#: ../../faq/design.rst:491
682683msgid "How are dictionaries implemented in CPython?"
683- msgstr ""
684+ msgstr "如何在CPython中实现字典? "
684685
685686#: ../../faq/design.rst:493
686687msgid ""
@@ -705,7 +706,7 @@ msgstr ""
705706
706707#: ../../faq/design.rst:508
707708msgid "Why must dictionary keys be immutable?"
708- msgstr ""
709+ msgstr "为什么字典key必须是不可变的? "
709710
710711#: ../../faq/design.rst:510
711712msgid ""
@@ -807,7 +808,7 @@ msgstr ""
807808
808809#: ../../faq/design.rst:590
809810msgid "Why doesn't list.sort() return the sorted list?"
810- msgstr ""
811+ msgstr "为什么 list.sort() 没有返回排序列表? "
811812
812813#: ../../faq/design.rst:592
813814msgid ""
@@ -829,7 +830,7 @@ msgstr ""
829830
830831#: ../../faq/design.rst:608
831832msgid "How do you specify and enforce an interface spec in Python?"
832- msgstr ""
833+ msgstr "如何在Python中指定和实施接口规范? "
833834
834835#: ../../faq/design.rst:610
835836msgid ""
@@ -890,7 +891,7 @@ msgstr ""
890891
891892#: ../../faq/design.rst:650
892893msgid "Why is there no goto?"
893- msgstr ""
894+ msgstr "为什么没有goto? "
894895
895896#: ../../faq/design.rst:652
896897msgid ""
@@ -908,7 +909,7 @@ msgstr ""
908909
909910#: ../../faq/design.rst:672
910911msgid "Why can't raw strings (r-strings) end with a backslash?"
911- msgstr ""
912+ msgstr "为什么原始字符串(r-strings)不能以反斜杠结尾? "
912913
913914#: ../../faq/design.rst:674
914915msgid ""
@@ -940,7 +941,7 @@ msgstr ""
940941
941942#: ../../faq/design.rst:698
942943msgid "Why doesn't Python have a \" with\" statement for attribute assignments?"
943- msgstr ""
944+ msgstr "为什么Python没有属性赋值的“with”语句? "
944945
945946#: ../../faq/design.rst:700
946947msgid ""
@@ -1003,7 +1004,7 @@ msgstr ""
10031004
10041005#: ../../faq/design.rst:753
10051006msgid "Why are colons required for the if/while/def/class statements?"
1006- msgstr ""
1007+ msgstr "为什么 if/while/def/class语句需要冒号? "
10071008
10081009#: ../../faq/design.rst:755
10091010msgid ""
@@ -1032,7 +1033,7 @@ msgstr ""
10321033
10331034#: ../../faq/design.rst:775
10341035msgid "Why does Python allow commas at the end of lists and tuples?"
1035- msgstr ""
1036+ msgstr "为什么Python在列表和元组的末尾允许使用逗号? "
10361037
10371038#: ../../faq/design.rst:777
10381039msgid ""
0 commit comments