@@ -541,6 +541,8 @@ msgid ""
541541" such as from :attr:`parent` and :meth:`relative_to`. Subclasses may "
542542"override this method to pass information to derivative paths, for example::"
543543msgstr ""
544+ "通过组合给定的 *pathsegments* 创建一个相同类型的新路径对象。 每当创建派生路径,如从 :attr:`parent` 和 "
545+ ":meth:`relative_to` 创建时都会调用此方法。 子类可以覆盖此方法以便向派生路径传递信息,例如::"
544546
545547#: ../../library/pathlib.rst:724
546548msgid "Concrete paths"
@@ -661,13 +663,13 @@ msgstr ""
661663
662664#: ../../library/pathlib.rst:861
663665msgid "Return ``True`` if the path points to an existing file or directory."
664- msgstr ""
666+ msgstr "如果路径指向现有的文件或目录则返回 ``True``。 "
665667
666668#: ../../library/pathlib.rst:863
667669msgid ""
668670"This method normally follows symlinks; to check if a symlink exists, add the"
669671" argument ``follow_symlinks=False``."
670- msgstr ""
672+ msgstr "此方法通常会跟随符号链接;要检查符号链接是否存在,请添加参数 ``follow_symlinks=False``。 "
671673
672674#: ../../library/pathlib.rst:882
673675msgid ""
@@ -700,6 +702,9 @@ msgid ""
700702"typically, case-sensitive on POSIX, and case-insensitive on Windows. Set "
701703"*case_sensitive* to ``True`` or ``False`` to override this behaviour."
702704msgstr ""
705+ "在默认情况下,或当 *case_sensitive* 关键字参数被设为 ``None`` 时,该方法将使用特定平台的大小写规则匹配路径:通常,在 "
706+ "POSIX 上区分大小写,而在 Windows 上不区分大小写。将 *case_sensitive* 设为 ``True`` 或 ``False`` "
707+ "可覆盖此行为。"
703708
704709#: ../../library/pathlib.rst:922
705710msgid ""
@@ -752,7 +757,7 @@ msgstr "如果路径指向一个正常的文件(或者一个指向正常文件
752757msgid ""
753758"Return ``True`` if the path points to a junction, and ``False`` for any "
754759"other type of file. Currently only Windows supports junctions."
755- msgstr ""
760+ msgstr "如果路径是指向一个接合点则返回 ``True``,如果是其他文件类型则返回 ``False``。 目前只有 Windows 支持接合点。 "
756761
757762#: ../../library/pathlib.rst:969
758763msgid ""
0 commit comments