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

Skip to content

Commit c7504f8

Browse files
[po] auto sync
1 parent 8da5986 commit c7504f8

1 file changed

Lines changed: 12 additions & 4 deletions

File tree

library/csv.po

Lines changed: 12 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -539,43 +539,51 @@ msgid ""
539539
"for other programs which read CSV files (assuming they support complex "
540540
"numbers at all)."
541541
msgstr ""
542+
":class:`Writer` 对象(:class:`DictWriter` 实例和 :func:`writer` "
543+
"函数返回的对象)具有下面的公开方法。对于 :class:`Writer` 对象,*行* 必须是(一组可迭代的)字符串或数字。对于 "
544+
":class:`DictWriter` 对象,*行* 必须是一个字典,这个字典将字段名映射为字符串或数字(数字要先经过 :func:`str` "
545+
"转换类型)。请注意,输出的复数会有括号包围。这样其他程序读取 CSV 文件时可能会有一些问题(假设它们完全支持复数)。"
542546

543547
#: ../../library/csv.rst:445
544548
msgid ""
545549
"Write the *row* parameter to the writer's file object, formatted according "
546550
"to the current dialect. Return the return value of the call to the *write* "
547551
"method of the underlying file object."
548552
msgstr ""
553+
"将参数 *row* 写入 writer 的文件对象,并根据当前设置的变种进行格式化。本方法的返回值就是底层文件对象 *write* 方法的返回值。"
549554

550555
#: ../../library/csv.rst:449
551556
msgid "Added support of arbitrary iterables."
552-
msgstr ""
557+
msgstr "开始支持任意类型的迭代器。"
553558

554559
#: ../../library/csv.rst:454
555560
msgid ""
556561
"Write all elements in *rows* (an iterable of *row* objects as described "
557562
"above) to the writer's file object, formatted according to the current "
558563
"dialect."
559564
msgstr ""
565+
"将 *rows*(即能迭代出多个上述 *row* 对象的迭代器)中的所有元素写入 writer 的文件对象,并根据当前设置的变种进行格式化。"
560566

561567
#: ../../library/csv.rst:458
562568
msgid "Writer objects have the following public attribute:"
563-
msgstr ""
569+
msgstr "Writer 对象具有以下公开属性:"
564570

565571
#: ../../library/csv.rst:463
566572
msgid "A read-only description of the dialect in use by the writer."
567-
msgstr ""
573+
msgstr "变种描述,只读,供 writer 使用。"
568574

569575
#: ../../library/csv.rst:466
570576
msgid "DictWriter objects have the following public method:"
571-
msgstr ""
577+
msgstr "DictWriter 对象具有以下公开方法:"
572578

573579
#: ../../library/csv.rst:471
574580
msgid ""
575581
"Write a row with the field names (as specified in the constructor) to the "
576582
"writer's file object, formatted according to the current dialect. Return the"
577583
" return value of the :meth:`csvwriter.writerow` call used internally."
578584
msgstr ""
585+
"在 writer 的文件对象中,写入一行字段名称(字段名称在构造函数中指定),并根据当前设置的变种进行格式化。本方法的返回值就是内部使用的 "
586+
":meth:`csvwriter.writerow` 方法的返回值。"
579587

580588
#: ../../library/csv.rst:476
581589
msgid ""

0 commit comments

Comments
 (0)