@@ -117,81 +117,87 @@ msgid ""
117117"SunOS will be reported as Solaris. The :func:`system_alias` function is "
118118"used to implement this."
119119msgstr ""
120+ "如果 *aliased* 为真值,此函数将使用各种平台不同与其通常名称的别名来报告系统名称,例如 SunOS 将被报告为 Solaris。 "
121+ ":func:`system_alias` 函数将被用于实现此功能。"
120122
121123#: ../../library/platform.rst:79
122124msgid ""
123125"Setting *terse* to true causes the function to return only the absolute "
124126"minimum information needed to identify the platform."
125- msgstr ""
127+ msgstr "将 *terse* 设为真值将导致此函数只返回标识平台所必须的最小量信息。 "
126128
127129#: ../../library/platform.rst:82
128130msgid ""
129131"On macOS, the function now uses :func:`mac_ver`, if it returns a non-empty "
130132"release string, to get the macOS version rather than the darwin version."
131133msgstr ""
134+ "在 macOS 上,此函数现在会在 :func:`mac_ver` 返回的发布版字符串非空时使用它,以便获取 macOS 版本而非 darwin 版本。"
132135
133136#: ../../library/platform.rst:90
134137msgid "Returns the (real) processor name, e.g. ``'amdk6'``."
135- msgstr ""
138+ msgstr "返回(真实的)处理器名称,例如 ``'amdk6'``。 "
136139
137140#: ../../library/platform.rst:92
138141msgid ""
139142"An empty string is returned if the value cannot be determined. Note that "
140143"many platforms do not provide this information or simply return the same "
141144"value as for :func:`machine`. NetBSD does this."
142145msgstr ""
146+ "如果该值无法确定则将返回空字符串。 请注意许多平台都不提供此信息或是简单地返回与 :func:`machine` 相同的值。 NetBSD "
147+ "则会提供此信息。"
143148
144149#: ../../library/platform.rst:99
145150msgid ""
146151"Returns a tuple ``(buildno, builddate)`` stating the Python build number and"
147152" date as strings."
148- msgstr ""
153+ msgstr "返回一个元组 ``(buildno, builddate)``,以字符串表示的 Python 编译代码和日期。 "
149154
150155#: ../../library/platform.rst:105
151156msgid "Returns a string identifying the compiler used for compiling Python."
152- msgstr ""
157+ msgstr "返回一个表示用于编译 Python 的编译器的的字符串。 "
153158
154159#: ../../library/platform.rst:110
155160msgid "Returns a string identifying the Python implementation SCM branch."
156- msgstr ""
161+ msgstr "返回一个表示 Python 实现的 SCM 分支的字符串。 "
157162
158163#: ../../library/platform.rst:115
159164msgid ""
160165"Returns a string identifying the Python implementation. Possible return "
161166"values are: 'CPython', 'IronPython', 'Jython', 'PyPy'."
162167msgstr ""
168+ "返回一个标识 Python 实现的字符串。 可能的返回值有: 'CPython', 'IronPython', 'Jython', 'PyPy'。"
163169
164170#: ../../library/platform.rst:121
165171msgid "Returns a string identifying the Python implementation SCM revision."
166- msgstr ""
172+ msgstr "返回一个标识 Python 实现的 SCM 修订版的字符串。 "
167173
168174#: ../../library/platform.rst:126
169175msgid "Returns the Python version as string ``'major.minor.patchlevel'``."
170- msgstr ""
176+ msgstr "将 Python 版本以字符串 ``'major.minor.patchlevel'`` 形式返回。 "
171177
172178#: ../../library/platform.rst:128
173179msgid ""
174180"Note that unlike the Python ``sys.version``, the returned value will always "
175181"include the patchlevel (it defaults to 0)."
176- msgstr ""
182+ msgstr "请注意此返回值不同于 Python ``sys.version``,它将总是包括 patchlevel (默认为 0)。 "
177183
178184#: ../../library/platform.rst:134
179185msgid ""
180186"Returns the Python version as tuple ``(major, minor, patchlevel)`` of "
181187"strings."
182- msgstr ""
188+ msgstr "将 Python 版本以字符串元组 ``(major, minor, patchlevel)`` 形式返回。 "
183189
184190#: ../../library/platform.rst:136
185191msgid ""
186192"Note that unlike the Python ``sys.version``, the returned value will always "
187193"include the patchlevel (it defaults to ``'0'``)."
188- msgstr ""
194+ msgstr "请注意此返回值不同于 Python ``sys.version``,它将总是包括 patchlevel (默认为 ``'0'``)。 "
189195
190196#: ../../library/platform.rst:142
191197msgid ""
192198"Returns the system's release, e.g. ``'2.2.0'`` or ``'NT'`` An empty string "
193199"is returned if the value cannot be determined."
194- msgstr ""
200+ msgstr "返回系统的发布版本,例如 ``'2.2.0'`` 或 ``'NT'``,如果该值无法确定则将返回一个空字符串。 "
195201
196202#: ../../library/platform.rst:148
197203msgid ""
0 commit comments