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

Skip to content

Commit 554d3b8

Browse files
[po] auto sync
1 parent 15439b7 commit 554d3b8

3 files changed

Lines changed: 20 additions & 7 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "89.27%", "updated_at": "2023-08-05T10:56:21Z"}
1+
{"translation": "89.29%", "updated_at": "2023-08-05T12:58:09Z"}

library/netrc.po

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55
#
66
# Translators:
7-
# Freesand Leo <[email protected]>, 2022
7+
# Freesand Leo <[email protected]>, 2023
88
#
99
#, fuzzy
1010
msgid ""
@@ -13,7 +13,7 @@ msgstr ""
1313
"Report-Msgid-Bugs-To: \n"
1414
"POT-Creation-Date: 2023-08-04 14:13+0000\n"
1515
"PO-Revision-Date: 2021-06-28 01:10+0000\n"
16-
"Last-Translator: Freesand Leo <[email protected]>, 2022\n"
16+
"Last-Translator: Freesand Leo <[email protected]>, 2023\n"
1717
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
1818
"MIME-Version: 1.0\n"
1919
"Content-Type: text/plain; charset=UTF-8\n"
@@ -89,19 +89,19 @@ msgid ""
8989
"Exception raised by the :class:`~netrc.netrc` class when syntactical errors "
9090
"are encountered in source text. Instances of this exception provide three "
9191
"interesting attributes:"
92-
msgstr ""
92+
msgstr "当源代码文本中出现语法错误时由 :class:`~netrc.netrc` 类所引发的异常。 该异常的实例提供了三个有用的属性:"
9393

9494
#: ../../library/netrc.rst:58
9595
msgid "Textual explanation of the error."
96-
msgstr ""
96+
msgstr "错误的解释性文本。"
9797

9898
#: ../../library/netrc.rst:62
9999
msgid "The name of the source file."
100-
msgstr ""
100+
msgstr "源代码文件名。"
101101

102102
#: ../../library/netrc.rst:66
103103
msgid "The line number on which the error was found."
104-
msgstr ""
104+
msgstr "发现错误所在的行号。"
105105

106106
#: ../../library/netrc.rst:72
107107
msgid "netrc Objects"

whatsnew/3.12.po

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3532,6 +3532,14 @@ msgid ""
35323532
" dictionaries. To clear weakrefs, call :c:func:`PyObject_ClearWeakRefs`, as "
35333533
"before."
35343534
msgstr ""
3535+
"希望添加 ``__dict__`` 或弱引用槽位的扩展类应分别使用 :c:macro:`Py_TPFLAGS_MANAGED_DICT` 和 "
3536+
":c:macro:`Py_TPFLAGS_MANAGED_WEAKREF` 来代替 ``tp_dictoffset`` 和 "
3537+
"``tp_weaklistoffset``。 目前仍支持使用 ``tp_dictoffset`` 和 "
3538+
"``tp_weaklistoffset``,但并不完全支持多重继承 (:gh:`95589`),而且性能可能会变差。 声明了 "
3539+
":c:macro:`Py_TPFLAGS_MANAGED_DICT` 的类应当调用 "
3540+
":c:func:`!_PyObject_VisitManagedDict` 和 "
3541+
":c:func:`!_PyObject_ClearManagedDict` 来遍历并清除它们的实例的字典。 要清除弱引用,请像之前一样调用 "
3542+
":c:func:`PyObject_ClearWeakRefs`。"
35353543

35363544
#: ../../whatsnew/3.12.rst:1851
35373545
msgid ""
@@ -3540,6 +3548,9 @@ msgid ""
35403548
" :class:`bytes` type is accepted for bytes strings. (Contributed by Victor "
35413549
"Stinner in :gh:`98393`.)"
35423550
msgstr ""
3551+
":c:func:`PyUnicode_FSDecoder` 函数不再接受类似字节串的路径,如 :class:`bytearray` 和 "
3552+
":class:`memoryview` 类型:只接受明确的 :class:`bytes` 类型字节字符串。 (由 Victor Stinner 在 "
3553+
":gh:`98393` 中贡献。)"
35433554

35443555
#: ../../whatsnew/3.12.rst:1856
35453556
msgid ""
@@ -3548,6 +3559,8 @@ msgid ""
35483559
"effects, these side effects are no longer duplicated. (Contributed by Victor"
35493560
" Stinner in :gh:`98724`.)"
35503561
msgstr ""
3562+
":c:macro:`Py_CLEAR`、:c:macro:`Py_SETREF` 和 :c:macro:`Py_XSETREF` "
3563+
"宏现在只会对其参数求值一次。如果参数有附带影响,这些附带影响将不会再重复。 (由 Victor Stinner 在 :gh:`98724` 中贡献。)"
35513564

35523565
#: ../../whatsnew/3.12.rst:1861
35533566
msgid ""

0 commit comments

Comments
 (0)