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

Skip to content

Commit 199609a

Browse files
[po] auto sync
1 parent 9f575e2 commit 199609a

File tree

2 files changed

+13
-1
lines changed

2 files changed

+13
-1
lines changed

.stat.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
{"translation": "92.06%", "updated_at": "2024-03-14T02:24:41Z"}
1+
{"translation": "92.07%", "updated_at": "2024-03-14T03:22:30Z"}

whatsnew/3.5.po

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3815,6 +3815,9 @@ msgid ""
38153815
" generator (``repr(gen)``). (Contributed by Victor Stinner in "
38163816
":issue:`21205`.)"
38173817
msgstr ""
3818+
"现在生成器的 ``__name__`` 属性是根据函数名设置的,而不是根据代码名设置的。 请使用 ``gen.gi_code.co_name`` "
3819+
"来获取代码名。 生成器还有一个新的 ``__qualname__`` 属性,即限定名称,它现在用于生成器的表示形式 (``repr(gen)``)。 "
3820+
"(由 Victor Stinner 在 :issue:`21205` 中贡献。)"
38183821

38193822
#: ../../whatsnew/3.5.rst:2419
38203823
msgid ""
@@ -3834,6 +3837,9 @@ msgid ""
3834 D543 3837
" \"a :term:`bytes-like object` is required, not 'sometype'\". (Contributed "
38353838
"by Ezio Melotti in :issue:`16518`.)"
38363839
msgstr ""
3840+
"虽然不是 API 的正式组成部分,但对于移植目的(例如:修复测试)来说需要注意之前 \"'sometype' does not support the "
3841+
"buffer protocol\" 形式的错误消息现在将为 \"a :term:`bytes-like object` is required, not"
3842+
" 'sometype'\" 形式。 (由 Ezio Melotti 在 :issue:`16518` 中贡献。)"
38373843

38383844
#: ../../whatsnew/3.5.rst:2431
38393845
msgid ""
@@ -3843,6 +3849,9 @@ msgid ""
38433849
"**without** caching ``None`` in :data:`sys.path_importer_cache`, which is "
38443850
"different than the typical case (:issue:`22834`)."
38453851
msgstr ""
3852+
"在当前目录被设为已不存在的目录时将不再引发 :exc:`FileNotFoundError` 而是改为 "
3853+
":meth:`~importlib.machinery.FileFinder.find_spec` 返回 ``None`` 并且 **不在** "
3854+
":data:`sys.path_importer_cache` 中缓存 ``None``,这与典型的场景存在区别 (:issue:`22834`)。"
38463855

38473856
#: ../../whatsnew/3.5.rst:2437
38483857
msgid ""
@@ -3851,6 +3860,9 @@ msgid ""
38513860
"in :mod:`http.client` and :mod:`http.server` remain available for backwards "
38523861
"compatibility. (Contributed by Demian Brecht in :issue:`21793`.)"
38533862
msgstr ""
3863+
":mod:`http.client` 和 :mod:`http.server` 中的 HTTP 状态码和消息被重构为一个通用的 "
3864+
":class:`~http.HTTPStatus` 枚举。 :mod:`http.client` 和 :mod:`http.server` "
3865+
"中的值仍可被用于向下兼容性。 (由 Demian Brecht 在 :issue:`21793` 中贡献。)"
38543866

38553867
#: ../../whatsnew/3.5.rst:2442
38563868
msgid ""

0 commit comments

Comments
 (0)
0