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

Skip to content

Commit c2a8dfb

Browse files
committed
[po] auto sync bot
1 parent edf59d1 commit c2a8dfb

1 file changed

Lines changed: 18 additions & 8 deletions

File tree

reference/datamodel.po

Lines changed: 18 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -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: Freesand Leo <yuqinju@163.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"
@@ -430,10 +430,12 @@ msgid ""
430430
"usable for grouping of expressions). An empty tuple can be formed by an "
431431
"empty pair of parentheses."
432432
msgstr ""
433+
"一个元组中的条目可以是任意 Python 对象。包含两个或以上条目的元组由逗号分隔的表达式构成。只有一个条目的元组 ('单项元组') "
434+
"可通过在表达式后加一个逗号来构成 (一个表达式本身不能创建为元组,因为圆括号要用来设置表达式分组)。一个空元组可通过一对内容为空的圆括号创建。"
433435

434436
#: ../../reference/datamodel.rst:325
435437
msgid "Bytes"
436-
msgstr "字节"
438+
msgstr "字节串"
437439

438440
#: ../../reference/datamodel.rst:321
439441
msgid ""
@@ -443,21 +445,24 @@ msgid ""
443445
"create bytes objects. Also, bytes objects can be decoded to strings via the"
444446
" :meth:`~bytes.decode` method."
445447
msgstr ""
448+
"字节串对象是不可变的数组。其中每个条目都是一个 8 位字节,以取值范围 0 <= x < 256 的整型数表示。字节串字面值 (例如 "
449+
"``b'abc'``) 和内置的 :func:`bytes()` 构造器可被用来创建字节串对象。字节串对象还可以通过 "
450+
":meth:`~bytes.decode` 方法解码为字符串。"
446451

447452
#: ../../reference/datamodel.rst:359
448453
msgid "Mutable sequences"
449-
msgstr ""
454+
msgstr "可变序列"
450455

451456
#: ../../reference/datamodel.rst:335
452457
msgid ""
453458
"Mutable sequences can be changed after they are created. The subscription "
454459
"and slicing notations can be used as the target of assignment and "
455460
":keyword:`del` (delete) statements."
456-
msgstr ""
461+
msgstr "可变序列在被创建后仍可被改变。下标和切片标注可被用作赋值和 :keyword:`del` (删除) 语句的目标。"
457462

458463
#: ../../reference/datamodel.rst:339
459464
msgid "There are currently two intrinsic mutable sequence types:"
460-
msgstr ""
465+
msgstr "目前有两种内生可变序列类型:"
461466

462467
#: ../../reference/datamodel.rst:346
463468
msgid "Lists"
@@ -469,10 +474,11 @@ msgid ""
469474
"placing a comma-separated list of expressions in square brackets. (Note that"
470475
" there are no special cases needed to form lists of length 0 or 1.)"
471476
msgstr ""
477+
"列表中的条目可以是任意 Python 对象。列表由用方括号括起并由逗号分隔的多个表达式构成。(注意创建长度为 0 或 1 的列表无需使用特殊规则。)"
472478

473479
#: ../../reference/datamodel.rst:354
474480
msgid "Byte Arrays"
475-
msgstr ""
481+
msgstr "字节数组"
476482

477483
#: ../../reference/datamodel.rst:351
478484
msgid ""
@@ -481,16 +487,18 @@ msgid ""
481487
"unhashable), byte arrays otherwise provide the same interface and "
482488
"functionality as immutable :class:`bytes` objects."
483489
msgstr ""
490+
"字节数组对象属于可变数组。可以通过内置的 :func:`bytearray` 构造器来创建。除了是可变的 "
491+
"(因而也是不可哈希的),在其他方面字节数组提供的接口和功能都于不可变的 :class:`bytes` 对象一致。"
484492

485493
#: ../../reference/datamodel.rst:358
486494
msgid ""
487495
"The extension module :mod:`array` provides an additional example of a "
488496
"mutable sequence type, as does the :mod:`collections` module."
489-
msgstr ""
497+
msgstr "扩展模块 :mod:`array` 提供了一个额外的可变序列类型示例,:mod:`collections` 模块也是如此。"
490498

491499
#: ../../reference/datamodel.rst:393
492500
msgid "Set types"
493-
msgstr ""
501+
msgstr "集合类型"
494502

495503
#: ../../reference/datamodel.rst:366
496504
msgid ""
@@ -501,6 +509,8 @@ msgid ""
501509
" from a sequence, and computing mathematical operations such as "
502510
"intersection, union, difference, and symmetric difference."
503511
msgstr ""
512+
"此类对象表示由不重复且不可变对象组成的无序且有限的集合。因此它们不能通过下标来索引。但是它们可被迭代,也可用内置函数 :func:`len` "
513+
"返回集合中的条目数。集合常见的用处是快速成员检测,去除序列中的重复项,以及进行交、并、差和对称差等数学运算。"
504514

505515
#: ../../reference/datamodel.rst:373
506516
msgid ""

0 commit comments

Comments
 (0)