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

Skip to content

Commit 01d4081

Browse files
committed
[po] auto sync bot
1 parent 9913e56 commit 01d4081

3 files changed

Lines changed: 32 additions & 17 deletions

File tree

c-api/type.po

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# jing stone <[email protected]>, 2019
7+
# stonejing <[email protected]>, 2019
88
#
99
#, fuzzy
1010
msgid ""
@@ -13,7 +13,7 @@ msgstr ""
1313
"Report-Msgid-Bugs-To: \n"
1414
"POT-Creation-Date: 2019-01-01 10:14+0900\n"
1515
"PO-Revision-Date: 2017-02-16 17:39+0000\n"
16-
"Last-Translator: jing stone <[email protected]>, 2019\n"
16+
"Last-Translator: stonejing <[email protected]>, 2019\n"
1717
"Language-Team: Chinese (China) (https://www.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"

extending/newtypes_tutorial.po

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,13 +88,15 @@ msgstr ""
8888
msgid ""
8989
"Now that's quite a bit to take in at once, but hopefully bits will seem "
9090
"familiar from the previous chapter. This file defines three things:"
91-
msgstr ""
91+
msgstr "这部分很容易理解,这是为了跟上一章能对接上。这个文件定义了三件事:"
9292

9393
#: ../../extending/newtypes_tutorial.rst:53
9494
msgid ""
9595
"What a :class:`Custom` **object** contains: this is the ``CustomObject`` "
9696
"struct, which is allocated once for each :class:`Custom` instance."
9797
msgstr ""
98+
":class:`Custom` 类的对象 **object** 包含了: ``CustomObject`` 结构,这会为每个 "
99+
":class:`Custom` 实例分配一次。"
98100

99101
#: ../../extending/newtypes_tutorial.rst:55
100102
msgid ""

library/stdtypes.po

Lines changed: 27 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,6 @@
1313
# eric R <[email protected]>, 2018
1414
# CommonZ <[email protected]>, 2018
1515
# Zombie110year <[email protected]>, 2019
16-
# stonejing <[email protected]>, 2019
1716
# ppcfish <[email protected]>, 2019
1817
# Meng Du <[email protected]>, 2019
1918
# 叶浚安 <[email protected]>, 2019
@@ -5540,16 +5539,19 @@ msgid ""
55405539
"function and can be extracted from function objects through their "
55415540
":attr:`__code__` attribute. See also the :mod:`code` module."
55425541
msgstr ""
5542+
"代码对象被具体实现用来表示“伪编译”的可执行 Python 代码,例如一个函数体。 它们不同于函数对象,因为它们不包含对其全局执行环境的引用。 "
5543+
"代码对象由内置的 :func:`compile` 函数返回,并可通过从函数对象的 :attr:`__code__` 属性从中提取。 另请参阅 "
5544+
":mod:`code` 模块。"
55435545

55445546
#: ../../library/stdtypes.rst:4574
55455547
msgid ""
55465548
"A code object can be executed or evaluated by passing it (instead of a "
55475549
"source string) to the :func:`exec` or :func:`eval` built-in functions."
5548-
msgstr ""
5550+
msgstr "可以通过将代码对象(而非源码字符串)传给 :func:`exec` 或 :func:`eval` 内置函数来执行或求值。"
55495551

55505552
#: ../../library/stdtypes.rst:4583
55515553
msgid "Type Objects"
5552-
msgstr "Type 对象"
5554+
msgstr "类型对象"
55535555

55545556
#: ../../library/stdtypes.rst:4589
55555557
msgid ""
@@ -5558,29 +5560,33 @@ msgid ""
55585560
"operations on types. The standard module :mod:`types` defines names for all"
55595561
" standard built-in types."
55605562
msgstr ""
5563+
"类型对象表示各种对象类型。 对象的类型可通过内置函数 :func:`type` 来获取。 类型没有特殊的操作。 标准库模块 :mod:`types` "
5564+
"定义了所有标准内置类型的名称。"
55615565

55625566
#: ../../library/stdtypes.rst:4594
55635567
msgid "Types are written like this: ``<class 'int'>``."
5564-
msgstr ""
5568+
msgstr "类型以这样的写法来表示: ``<class 'int'>``。"
55655569

55665570
#: ../../library/stdtypes.rst:4600
55675571
msgid "The Null Object"
5568-
msgstr ""
5572+
msgstr "空对象"
55695573

55705574
#: ../../library/stdtypes.rst:4602
55715575
msgid ""
55725576
"This object is returned by functions that don't explicitly return a value. "
55735577
"It supports no special operations. There is exactly one null object, named "
55745578
"``None`` (a built-in name). ``type(None)()`` produces the same singleton."
55755579
msgstr ""
5580+
"此对象会由不显式地返回值的函数所返回。 它不支持任何特殊的操作。 空对象只有一种值 ``None`` (这是个内置名称)。 "
5581+
"``type(None)()`` 会生成同一个单例。"
55765582

55775583
#: ../../library/stdtypes.rst:4606
55785584
msgid "It is written as ``None``."
5579-
msgstr ""
5585+
msgstr "该对象的写法为 ``None``。"
55805586

55815587
#: ../../library/stdtypes.rst:4613
55825588
msgid "The Ellipsis Object"
5583-
msgstr ""
5589+
msgstr "省略符对象"
55845590

55855591
#: ../../library/stdtypes.rst:4615
55865592
msgid ""
@@ -5589,14 +5595,16 @@ msgid ""
55895595
":const:`Ellipsis` (a built-in name). ``type(Ellipsis)()`` produces the "
55905596
":const:`Ellipsis` singleton."
55915597
msgstr ""
5598+
"此对象常被用于切片 (参见 :ref:`slicings`)。 它不支持任何特殊的操作。 省略符对象只有一种值 :const:`Ellipsis` "
5599+
"(这是个内置名称)。 ``type(Ellipsis)()`` 会生成 :const:`Ellipsis` 单例。"
55925600

55935601
#: ../../library/stdtypes.rst:4620
55945602
msgid "It is written as ``Ellipsis`` or ``...``."
5595-
msgstr ""
5603+
msgstr "该对象的写法为 ``Ellipsis`` 或 ``...``。"
55965604

55975605
#: ../../library/stdtypes.rst:4626
55985606
msgid "The NotImplemented Object"
5599-
msgstr ""
5607+
msgstr "未实现对象"
56005608

56015609
#: ../../library/stdtypes.rst:4628
56025610
msgid ""
@@ -5605,10 +5613,12 @@ msgid ""
56055613
"more information. There is exactly one ``NotImplemented`` object. "
56065614
"``type(NotImplemented)()`` produces the singleton instance."
56075615
msgstr ""
5616+
"此对象会被作为比较和二元运算被应用于它们所不支持的类型时的返回值。 请参阅 :ref:`comparisons` 了解更多信息。 未实现对象只有一种值 "
5617+
"``NotImplemented``。 ``type(NotImplemented)()`` 会生成这个单例。"
56085618

56095619
#: ../../library/stdtypes.rst:4633
56105620
msgid "It is written as ``NotImplemented``."
5611-
msgstr ""
5621+
msgstr "该对象的写法为 ``NotImplemented``。"
56125622

56135623
#: ../../library/stdtypes.rst:4639
56145624
msgid "Boolean Values"
@@ -5624,20 +5634,23 @@ msgid ""
56245634
"any value to a Boolean, if the value can be interpreted as a truth value "
56255635
"(see section :ref:`truth` above)."
56265636
msgstr ""
5637+
"布尔值是两个常量对象 ``False`` 和 ``True``。 它们被用来表示逻辑上的真假(不过其他值也可被当作真值或假值)。 "
5638+
"在数字类的上下文中(例如被用作算术运算符的参数时),它们的行为分别类似于整数 0 和 1。 内置函数 :func:`bool` "
5639+
"可被用来将任意值转换为布尔值,只要该值可被解析为一个逻辑值(参见之前的 :ref:`truth` 部分)。"
56275640

56285641
#: ../../library/stdtypes.rst:4654
56295642
msgid "They are written as ``False`` and ``True``, respectively."
5630-
msgstr ""
5643+
msgstr "该对象的写法分别为 ``False`` 和 ``True``。"
56315644

56325645
#: ../../library/stdtypes.rst:4660
56335646
msgid "Internal Objects"
5634-
msgstr ""
5647+
msgstr "内部对象"
56355648

56365649
#: ../../library/stdtypes.rst:4662
56375650
msgid ""
56385651
"See :ref:`types` for this information. It describes stack frame objects, "
56395652
"traceback objects, and slice objects."
5640-
msgstr ""
5653+
msgstr "有关此对象的信息请参阅 :ref:`types`。 其中描述了栈帧对象、回溯对象以及切片对象等等。"
56415654

56425655
#: ../../library/stdtypes.rst:4669
56435656
msgid "Special Attributes"
@@ -5648,7 +5661,7 @@ msgid ""
56485661
"The implementation adds a few special read-only attributes to several object"
56495662
" types, where they are relevant. Some of these are not reported by the "
56505663
":func:`dir` built-in function."
5651-
msgstr ""
5664+
msgstr "语言实现为部分对象类型添加了一些特殊的只读属性,它们具有各自的作用。 其中一些并不会被 :func:`dir` 内置函数所列出。"
56525665

56535666
#: ../../library/stdtypes.rst:4678
56545667
msgid ""

0 commit comments

Comments
 (0)