11# SOME DESCRIPTIVE TITLE.
2- # Copyright (C) 2001-2023 , Python Software Foundation
2+ # Copyright (C) 2001-2024 , Python Software Foundation
33# This file is distributed under the same license as the Python package.
44# FIRST AUTHOR <EMAIL@ADDRESS>, YEAR.
55#
66# Translators:
7- # df2dc1c92e792f7ae8417c51df43db8f_594d92a <0f49be28017426edb1db1a2ab6e67088_717605>, 2021
87# telnetning <[email protected] >, 202198# Alpha Du <[email protected] >, 2021109# Dai Xu <[email protected] >, 20211110# ww song <[email protected] >, 20221211# Bryan不可思议, 2023
13- # 乐成 王, 2023
14- # LeeWendao <[email protected] >, 20231512# Freesand Leo <[email protected] >, 202313+ # 乐成 王, 2024
1614#
1715#, fuzzy
1816msgid ""
1917msgstr ""
2018"Project-Id-Version : Python 3.12\n "
2119"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2023-12 -15 14:14 +0000\n "
20+ "POT-Creation-Date : 2024-03 -15 14:13 +0000\n "
2321"PO-Revision-Date : 2021-06-28 00:52+0000\n "
24- "
Last-Translator :
Freesand Leo <[email protected] >, 2023 \n"
22+ "Last-Translator : 乐成 王, 2024 \n "
2523"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
2624"MIME-Version : 1.0\n "
2725"Content-Type : text/plain; charset=UTF-8\n "
@@ -31,7 +29,7 @@ msgstr ""
3129
3230#: ../../howto/annotations.rst:5
3331msgid "Annotations Best Practices"
34- msgstr "对象注解属性的最佳实践 "
32+ msgstr "注解最佳实践 "
3533
3634#: ../../howto/annotations.rst:0
3735msgid "author"
@@ -41,7 +39,7 @@ msgstr "作者"
4139msgid "Larry Hastings"
4240msgstr "Larry Hastings"
4341
44- #: ../../howto/annotations.rstNone
42+ #: ../../howto/annotations.rst-1
4543msgid "Abstract"
4644msgstr "摘要"
4745
@@ -51,9 +49,7 @@ msgid ""
5149" annotations dicts. If you write Python code that examines "
5250"``__annotations__`` on Python objects, we encourage you to follow the "
5351"guidelines described below."
54- msgstr ""
55- "本文意在汇聚对象的注解字典用法的最佳实践。 如果 Python 代码会去查看 Python 对象的 ``__annotations__`` "
56- "属性,建议遵循以下准则。"
52+ msgstr "本文档旨在概括与注解字典打交道的最佳实践。查看 Python 对象的 ``__annotations__`` 的代码应遵循下述准则。"
5753
5854#: ../../howto/annotations.rst:16
5955msgid ""
@@ -63,8 +59,9 @@ msgid ""
6359"and older, other best practices for ``__annotations__`` that apply to any "
6460"Python version, and quirks of ``__annotations__``."
6561msgstr ""
66- "本文分为四个部分:在 Python 3.10 以上版本中访问对象注解的最佳实践、在Python 3.9 以上版本中访问对象注解的最佳实践、适用于任何 "
67- "Python 版本的其他 ``__annotations__`` 最佳实践、``__annotations__`` 的特别之处。"
62+ "本文档按四部分组织:在 3.10 及更高版本的 Python 中查看对象注解的最佳实践、在 3.9 及更低版本的 Python "
63+ "中查看对象注解的最佳实践、其它一些适于任何版本的 Python 的 ``__annotations__`` "
64+ "的最佳实践、``__annotations__`` 的一些“坑”。"
6865
6966#: ../../howto/annotations.rst:26
7067msgid ""
@@ -73,12 +70,12 @@ msgid ""
7370"information on how to use \" type hints\" in your code, please see the "
7471":mod:`typing` module."
7572msgstr ""
76- "请注意,本文是专门介绍 ``__annotations__`` 的,而不是介绍注解的用法。若要了解 “类型提示”的使用信息 ,请参阅 "
73+ "本文是 ``__annotations__`` 的文档,不是介绍注解用法的文档。如果要查找关于如何使用 “类型提示”的信息 ,请参阅 "
7774":mod:`typing` 模块。"
7875
7976#: ../../howto/annotations.rst:33
8077msgid "Accessing The Annotations Dict Of An Object In Python 3.10 And Newer"
81- msgstr "在 Python 3.10 以上版本中访问对象的注解字典 "
78+ msgstr "在 3.10 及更高版本的 Python 中访问对象的注解字典 "
8279
8380#: ../../howto/annotations.rst:35
8481msgid ""
@@ -131,7 +128,7 @@ msgstr ""
131128
132129#: ../../howto/annotations.rst:68
133130msgid "Accessing The Annotations Dict Of An Object In Python 3.9 And Older"
134- msgstr "在 Python 3.9 及更早的版本中访问对象的注解字典 "
131+ msgstr "在 3.9 及更低版本的 Python 中访问对象的注解字典 "
135132
136133#: ../../howto/annotations.rst:70
137134msgid ""
0 commit comments