@@ -10,7 +10,7 @@ msgstr ""
1010"Report-Msgid-Bugs-To : \n "
1111"POT-Creation-Date : 2018-06-30 05:56+0900\n "
1212"PO-Revision-Date : YEAR-MO-DA HO:MI+ZONE\n "
13- "Last-Translator : Tony Tong <firfly.net@qq .com>, 2018\n "
13+ "Last-Translator : ww song <sww4718168@gmail .com>, 2018\n "
1414"Language-Team : Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n "
1515"MIME-Version : 1.0\n "
1616"Content-Type : text/plain; charset=UTF-8\n "
@@ -242,10 +242,14 @@ msgid ""
242242"``PyList_Check(a)`` is true if (and only if) the object pointed to by *a* is"
243243" a Python list."
244244msgstr ""
245+ "所有Python对象(甚至Python整数)都有一个 :dfn:`type` 和一个 :dfn:`reference "
246+ "count`。对象的类型确定它是什么类型的对象(例如,整数,列表或用户定义的函数;还有更多,如 :ref:`types` "
247+ "中所述)。对于每个众所周知的类型,都有一个宏来检查对象是否属于该类型;例如,如果(且仅当) *a* 指向的对象是Python列表,则 "
248+ "``PyList_Check(a)`` 为真。"
245249
246250#: ../../c-api/intro.rst:189
247251msgid "Reference Counts"
248- msgstr ""
252+ msgstr "引用计数 "
249253
250254#: ../../c-api/intro.rst:191
251255msgid ""
@@ -438,7 +442,7 @@ msgstr ""
438442
439443#: ../../c-api/intro.rst:431
440444msgid "Types"
441- msgstr ""
445+ msgstr "类型 "
442446
443447#: ../../c-api/intro.rst:433
444448msgid ""
@@ -453,7 +457,7 @@ msgstr ""
453457
454458#: ../../c-api/intro.rst:445
455459msgid "Exceptions"
456- msgstr ""
460+ msgstr "异常 "
457461
458462#: ../../c-api/intro.rst:447
459463msgid ""
@@ -463,6 +467,7 @@ msgid ""
463467"top-level interpreter, where they are reported to the user accompanied by a"
464468" stack traceback."
465469msgstr ""
470+ "Python程序员只需要处理特定需要处理的错误异常;未处理的异常会自动传递给调用者,然后传递给调用者的调用者,依此类推,直到他们到达顶级解释器,在那里将它们报告给用户并伴随堆栈回溯。"
466471
467472#: ../../c-api/intro.rst:455
468473msgid ""
@@ -636,7 +641,7 @@ msgstr ""
636641
637642#: ../../c-api/intro.rst:668
638643msgid "Debugging Builds"
639- msgstr ""
644+ msgstr "调试构建 "
640645
641646#: ../../c-api/intro.rst:670
642647msgid ""
@@ -670,15 +675,15 @@ msgstr ""
670675msgid ""
671676"In addition to the reference count debugging described below, the following "
672677"extra checks are performed:"
673- msgstr ""
678+ msgstr "除了前面描述的引用计数调试之外,还执行以下额外检查: "
674679
675680#: ../../c-api/intro.rst:690
676681msgid "Extra checks are added to the object allocator."
677- msgstr ""
682+ msgstr "额外检查将添加到对象分配器。 "
678683
679684#: ../../c-api/intro.rst:692
680685msgid "Extra checks are added to the parser and compiler."
681- msgstr ""
686+ msgstr "额外的检查将添加到解析器和编译器中。 "
682687
683688#: ../../c-api/intro.rst:694
684689msgid ""
@@ -690,35 +695,35 @@ msgstr ""
690695msgid ""
691696"A number of assertions are added to the dictionary and set implementations. "
692697"In addition, the set object acquires a :meth:`test_c_api` method."
693- msgstr ""
698+ msgstr "许多断言被添加到字典和集合实现中。另外,集合对象需要 :meth:`test_c_api` 方法。 "
694699
695700#: ../../c-api/intro.rst:699
696701msgid "Sanity checks of the input arguments are added to frame creation."
697- msgstr ""
702+ msgstr "输入参数的完整性检查被添加到框架创建中。 "
698703
699704#: ../../c-api/intro.rst:701
700705msgid ""
701706"The storage for ints is initialized with a known invalid pattern to catch "
702707"reference to uninitialized digits."
703- msgstr ""
708+ msgstr "使用已知的无效模式初始化整型的存储,以捕获对未初始化数字的引用。 "
704709
705710#: ../../c-api/intro.rst:704
706711msgid ""
707712"Low-level tracing and extra exception checking are added to the runtime "
708713"virtual machine."
709- msgstr ""
714+ msgstr "添加底层跟踪和额外的异常检查到虚拟机的运行时中。 "
710715
711716#: ../../c-api/intro.rst:707
712717msgid "Extra checks are added to the memory arena implementation."
713718msgstr ""
714719
715720#: ../../c-api/intro.rst:709
716721msgid "Extra debugging is added to the thread module."
717- msgstr ""
722+ msgstr "添加额外调试到线程模块。 "
718723
719724#: ../../c-api/intro.rst:711
720725msgid "There may be additional checks not mentioned here."
721- msgstr ""
726+ msgstr "这里可能没有提到的额外的检查。 "
722727
723728#: ../../c-api/intro.rst:713
724729msgid ""
@@ -734,4 +739,4 @@ msgstr ""
734739msgid ""
735740"Please refer to :file:`Misc/SpecialBuilds.txt` in the Python source "
736741"distribution for more detailed information."
737- msgstr ""
742+ msgstr "有关更多详细信息,请参阅Python源代码中的 :file:`Misc/SpecialBuilds.txt` 。 "
0 commit comments