8000 [po] auto sync · python/python-docs-zh-cn@82eb3b4 · GitHub
[go: up one dir, main page]

Skip to content

Commit 82eb3b4

Browse files
[po] auto sync
1 parent 56f3ae5 commit 82eb3b4

File tree

2 files changed

+11
-2
lines changed

2 files changed

+11
-2
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "83.30%", "updated_at": "2025-06-08T07:17:52Z"}
1+
{"translation": "83.31%", "updated_at": "2025-06-10T15:18:45Z"}

library/os.path.po

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -428,6 +428,8 @@ msgid ""
428428
"exist, is a symlink loop, or whose evaluation raises :exc:`OSError`. All "
429429
"such components are appended unchanged to the existing part of the path."
430430
msgstr ""
431+
"在默认情况下,对路径的求值将执行至第一个不存在的、导致符号链接循环的,或者求值引发 :exc:`OSError` 的路径组件。 "
432+
"所有这样的组件将不经修改地添加到现有的路径组件。"
431433

432434
#: ../../library/os.path.rst:358
433435
msgid ""
@@ -436,10 +438,12 @@ msgid ""
436438
"path may be missing or inaccessible, may still contain links or loops, and "
437439
"may traverse non-directories."
438440
msgstr ""
441+
"会以这种方式来处理的错误包括 \"access denied\", \"not a directory\"\"bad argument to "
442+
"internal function\"。 因此,结果路径可能不存在或不可访问,可能仍然包含链接或循环,并可能遍历至非目录。"
439443

440444
#: ../../library/os.path.rst:363
441445
msgid "This behavior can be modified by keyword arguments:"
442-
msgstr ""
446+
msgstr "此行为可通过关键字参数来修改:"
443447

444448
#: ../../library/os.path.rst:365
445449
msgid ""
@@ -448,6 +452,8 @@ msgid ""
448452
"*path* does not exist, or another :exc:`OSError` if it is otherwise "
449453
"inaccessible."
450454
msgstr ""
455+
"如果 *strict* 为 ``True``,则在对路径求值时遇到的第一个错误将被重新引发。 具体来说,如果 *path* 不存在则会引发 "
456+
":exc:`FileNotFoundError`,或者如果因其他原因而不可访问则会引发 :exc:`OSError`。"
451457

452458
#: ../../library/os.path.rst:370
453459
msgid ""
@@ -456,6 +462,9 @@ msgid ""
456462
"returned path will not contain any symbolic links, but the named file and "
457463
"some of its parent directories may be missing."
458464
msgstr ""
465+
"如果 *strict* 为 :py:data:`os.path.ALLOW_MISSING`,则 :exc:`FileNotFoundError` "
466+
"以外的错误将被重新引发(就像设置 ``strict=True`` 一样)。 "
467+
"因此,返回的路径将不包含任何符号链接,但指定名称的文件及其某些上级目录可能会不存在。"
459468

460469
#: ../../library/os.path.rst:376
461470
msgid ""

0 commit comments

Comments
 (0)
0