@@ -3082,7 +3082,7 @@ msgstr "dbm"
3082
3082
msgid ""
3083
3083
"All database modules now support the :meth:`!get` and :meth:`!setdefault` "
3084
3084
"methods."
3085
- msgstr ""
3085
+ msgstr "所有数据库模块现在均支持 :meth:`!get` 和 :meth:`!setdefault` 方法。 "
3086
3086
3087
3087
#: ../../whatsnew/3.2.rst:2002
3088
3088
msgid "(Suggested by Ray Allen in :issue:`9523`.)"
@@ -3106,7 +3106,7 @@ msgstr "site"
3106
3106
msgid ""
3107
3107
"The :mod:`site` module has three new functions useful for reporting on the "
3108
3108
"details of a given Python installation."
3109
- msgstr ""
3109
+ msgstr ":mod:`site` 模块新增了三个用于报告给定 Python 安装版详细信息的函数。 "
3110
3110
3111
3111
#: ../../whatsnew/3.2.rst:2015
3112
3112
msgid ""
@@ -3123,7 +3123,7 @@ msgstr ":func:`~site.getuserbase` 报告可用来存储数据的用户基准目
3123
3123
msgid ""
3124
3124
":func:`~site.getusersitepackages` reveals the user-specific site-packages "
3125
3125
"directory path."
3126
- msgstr ""
3126
+ msgstr ":func:`~site.getusersitepackages` 将揭示用户专属的 site-packages 目录路径。 "
3127
3127
3128
3128
#: ../../whatsnew/3.2.rst:2025
3129
3129
msgid ""
@@ -3151,7 +3151,7 @@ msgstr ""
3151
3151
msgid ""
3152
3152
"Conveniently, some of site's functionality is accessible directly from the "
3153
3153
"command-line:"
3154
- msgstr ""
3154
+ msgstr "部分 site 功能可方便地直接通过命令行访问: "
3155
3155
3156
3156
#: ../../whatsnew/3.2.rst:2038
3157
3157
msgid ""
@@ -3160,6 +3160,10 @@ msgid ""
3160
3160
"$ python -m site --user-site\n"
3161
3161
"/Users/raymondhettinger/.local/lib/python3.2/site-packages"
3162
3162
msgstr ""
3163
+ "$ python -m site --user-base\n"
3164
+ "/Users/raymondhettinger/.local\n"
3165
+ "$ python -m site --user-site\n"
3166
+ "/Users/raymondhettinger/.local/lib/python3.2/site-packages"
3163
3167
3164
3168
#: ../../whatsnew/3.2.rst:2045
3165
3169
msgid "(Contributed by Tarek Ziadé in :issue:`6693`.)"
@@ -3174,32 +3178,35 @@ msgid ""
3174
3178
"The new :mod:`sysconfig` module makes it straightforward to discover "
3175
3179
"installation paths and configuration variables that vary across platforms "
3176
3180
"and installations."
3177
- msgstr ""
3181
+ msgstr "新增的 :mod:`sysconfig` 模块使得发现依赖于不同系统平台和安装版的安装路径和配置变量更为简单直观。 "
3178
3182
3179
3183
#: ../../whatsnew/3.2.rst:2054
3180
3184
msgid ""
3181
3185
"The module offers access simple access functions for platform and version "
3182
3186
"information:"
3183
- msgstr ""
3187
+ msgstr "该模块提供了对平台和版本信息获取函数的访问: "
3184
3188
3185
3189
#: ../../whatsnew/3.2.rst:2057
3186
3190
msgid ""
3187
3191
":func:`~sysconfig.get_platform` returning values like *linux-i586* or "
3188
3192
"*macosx-10.6-ppc*."
3189
3193
msgstr ""
3194
+ ":func:`~sysconfig.get_platform` 将返回 *linux-i586* 或 *macosx-10.6-ppc* 形式的值。"
3190
3195
3191
3196
#: ../../whatsnew/3.2.rst:2059
3192
3197
msgid ""
3193
3198
":func:`~sysconfig.get_python_version` returns a Python version string such "
3194
3199
"as\" 3.2\" ."
3195
- msgstr ""
3200
+ msgstr ":func:`~sysconfig.get_python_version` 将返回 Python 版本字符串如 \" 3.2 \" 。 "
3196
3201
3197
3202
#: ../../whatsnew/3.2.rst:2062
3198
3203
msgid ""
3199
3204
"It also provides access to the paths and variables corresponding to one of "
3200
3205
"seven named schemes used by ``distutils``. Those include *posix_prefix*, "
3201
3206
"*posix_home*, *posix_user*, *nt*, *nt_user*, *os2*, *os2_home*:"
3202
3207
msgstr ""
3208
+ "它还提供了与 ``distutils`` 所使用的七个规范名称所对应的路径和变量的访问。 这包括 *posix_prefix*, "
3209
+ "*posix_home*, *posix_user*, *nt*, *nt_user*, *os2*, *os2_home*:"
3203
3210
3204
3211
#: ../../whatsnew/3.2.rst:2066
3205
3212
msgid ""