@@ -646,6 +646,7 @@ msgid ""
646646"no output) to ``3`` (the most output). Debugging information is written to "
647647"``sys.stdout``."
648648msgstr ""
649+ "要使用的调试输出等级。 这可以设为从 ``0`` (默认无输出) 到 ``3`` (最多输出) 的值。 调试信息会被写入 ``sys.stdout``。"
649650
650651#: ../../library/zipfile.rst:461
651652msgid ""
@@ -654,6 +655,8 @@ msgid ""
654655"``'w'``, ``'x'`` or ``'a'``, it should be no longer than 65535 bytes. "
655656"Comments longer than this will be truncated."
656657msgstr ""
658+ "关联到 ZIP 文件的 :class:`bytes` 对象形式的说明。 如果将说明赋给以 ``'w'``, ``'x'`` 或 ``'a'`` "
659+ "模式创建的 :class:`ZipFile` 实例,它的长度不应超过 65535 字节。 超过此长度的说明将被截断。"
657660
658661#: ../../library/zipfile.rst:471
659662msgid "Path Objects"
@@ -665,40 +668,44 @@ msgid ""
665668":class:`ZipFile` instance or ``file`` suitable for passing to the "
666669":class:`ZipFile` constructor)."
667670msgstr ""
671+ "根据 ``root`` zipfile (它可以是一个 :class:`ZipFile` 实例或适合传给 :class:`ZipFile` 构造器的 "
672+ "``file``) 构造一个 Path 对象。"
668673
669674#: ../../library/zipfile.rst:479
670675msgid ""
671676"``at`` specifies the location of this Path within the zipfile, e.g. "
672677"'dir/file.txt', 'dir/', or ''. Defaults to the empty string, indicating the "
673678"root."
674679msgstr ""
680+ "``at`` 指定此 Path 在 zipfile 中的位置,例如 'dir/file.txt', 'dir/' 或 ''。 "
681+ "默认为空字符串,即指定跟目录。"
675682
676683#: ../../library/zipfile.rst:483
677684msgid ""
678685"Path objects expose the following features of :mod:`pathlib.Path` objects:"
679- msgstr ""
686+ msgstr "Path 对象会公开 :mod:`pathlib.Path` 对象的下列特性: "
680687
681688#: ../../library/zipfile.rst:486
682689msgid "Path objects are traversable using the ``/`` operator."
683- msgstr ""
690+ msgstr "Path 对象可以使用 ``/`` 操作符进行遍历。 "
684691
685692#: ../../library/zipfile.rst:490
686693msgid "The final path component."
687- msgstr ""
694+ msgstr "最终的路径组成部分。 "
688695
689696#: ../../library/zipfile.rst:494
690697msgid ""
691698"Invoke :meth:`ZipFile.open` on the current path. Accepts the same arguments "
692699"as :meth:`ZipFile.open`."
693- msgstr ""
700+ msgstr "在当前路径上发起调用 :meth:`ZipFile.open`。 接受与 :meth:`ZipFile.open` 相同的参数。 "
694701
695702#: ../../library/zipfile.rst:499
696703msgid "Enumerate the children of the current directory."
697- msgstr ""
704+ msgstr "枚举当前目录的子目录。 "
698705
699706#: ../../library/zipfile.rst:503
700707msgid "Return ``True`` if the current context references a directory."
701- msgstr ""
708+ msgstr "如果当前上下文引用了一个目录则返回 ``True``。 "
702709
703710#: ../../library/zipfile.rst:507
704711msgid "Return ``True`` if the current context references a file."
0 commit comments