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

Skip to content

Commit 5a01c9d

Browse files
[po] auto sync
1 parent 15d2339 commit 5a01c9d

2 files changed

Lines changed: 12 additions & 4 deletions

File tree

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "94.94%", "updated_at": "2024-05-31T15:47:32Z"}
1+
{"translation": "94.95%", "updated_at": "2024-05-31T16:47:28Z"}

whatsnew/2.1.po

Lines changed: 11 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ msgid ""
1313
msgstr ""
1414
"Project-Id-Version: Python 3.12\n"
1515
"Report-Msgid-Bugs-To: \n"
16-
"POT-Creation-Date: 2024-05-24 14:49+0000\n"
16+
"POT-Creation-Date: 2024-05-31 14:49+0000\n"
1717
"PO-Revision-Date: 2024-05-11 00:34+0000\n"
1818
"Last-Translator: Unknownuserfrommars, 2024\n"
1919
"Language-Team: Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n"
@@ -622,7 +622,7 @@ msgstr ""
622622
msgid ""
623623
"This makes it possible to write a :func:`!memoize` function whose cache "
624624
"doesn't keep objects alive, by storing weak references in the cache. ::"
625-
msgstr ""
625+
msgstr "这使得可以编写一个 :func:`!memoize` 函数,其缓存不会使对象保持存活状态,因为缓存中存储的是弱引用:"
626626

627627
#: ../../whatsnew/2.1.rst:400
628628
msgid ""
@@ -660,6 +660,10 @@ msgid ""
660660
"documentation; for example, it means you can't properly document functions "
661661
"intended for private use in Zope."
662662
msgstr ""
663+
"在 Python 2.1 中,函数现在可以附加任意信息。人们经常使用文档字符串来保存有关函数和方法的信息,因为 "
664+
":attr:`~function.__doc__` 属性是唯一可以将任何信息附加到函数上的方式。例如,在 Zope "
665+
"网络应用服务器中,函数通过拥有文档字符串来标记为公共访问安全,在 John Aycock 的 SPARK 解析框架中,文档字符串包含要解析的 BNF "
666+
"语法的部分。这种过载是不幸的,因为文档字符串实际上是用来保存函数文档的;例如,这意味着你不能正确地为 Zope 中预期用于私有用途的函数编写文档。"
663667

664668
#: ../../whatsnew/2.1.rst:436
665669
msgid ""
@@ -812,6 +816,10 @@ msgid ""
812816
"enhancements. It will be available from the Distutils SIG at "
813817
"https://www.python.org/community/sigs/current/distutils-sig/."
814818
msgstr ""
819+
"即使你不使用 Python 2.1,你也可以开始创建包含 :file:`PKG-INFO` 的包,因为 Distutils 的新版本将为早期 "
820+
"Python 版本的用户发布。Distutils 1.0.2 版本包含了 :pep:`241` 所描述的更改,以及各种错误修复和增强功能。可以从 "
821+
"Distutils SIG 获取该版本:https://www.python.org/community/sigs/current/distutils-"
822+
"sig/ 。"
815823

816824
#: ../../whatsnew/2.1.rst:574
817825
msgid ":pep:`241` - Metadata for Python Software Packages"
@@ -931,7 +939,7 @@ msgstr ""
931939
msgid ""
932940
"Support for raw socket access has been added to the :mod:`socket` module, "
933941
"contributed by Grant Edwards."
934-
msgstr ""
942+
msgstr "对原始套接字访问的支持已添加到 :mod:`socket` 模块中,由 Grant Edwards 贡献。"
935943

936944
#: ../../whatsnew/2.1.rst:669
937945
msgid ""

0 commit comments

Comments
 (0)