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

Skip to content

Commit a4c2e58

Browse files
[po] auto sync
1 parent 2d3d996 commit a4c2e58

2 files changed

Lines changed: 7 additions & 1 deletion

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.57%", "updated_at": "2023-12-02T07:55:44Z"}
1+
{"translation": "92.58%", "updated_at": "2023-12-02T16:55:32Z"}

extending/newtypes.po

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -363,6 +363,9 @@ msgid ""
363363
" the descriptor from the class object, and get the doc string using its "
364364
":attr:`!__doc__` attribute."
365365
msgstr ""
366+
"使用 :c:member:`~PyTypeObject.tp_members` "
367+
"表来构建用于运行时的描述器还有一个有趣的优点是任何以这种方式定义的属性都可以简单地通过在表中提供文本来设置一个相关联的文档字符串。 "
368+
"一个应用程序可以使用自省 API 从类对象获取描述器,并使用其 :attr:`!__doc__` 属性来获取文档字符串。"
366369

367370
#: ../../extending/newtypes.rst:301
368371
msgid ""
@@ -509,6 +512,9 @@ msgid ""
509512
" which is why you should be careful to avoid returning it when hash "
510513
"computation is successful, as seen above."
511514
msgstr ""
515+
":c:type:`!Py_hash_t` 是一个宽度取决于具体平台的有符号整数类型。 从 "
516+
":c:member:`~PyTypeObject.tp_hash` 返回 ``-1`` "
517+
"表示发生了错误,这就是为什么你应当注意避免在哈希运算成功时返回它,如上面所演示的那样。"
512518

513519
#: ../../extending/newtypes.rst:460
514520
msgid ""

0 commit comments

Comments
 (0)