@@ -799,6 +799,8 @@ msgid ""
799
799
"cause it to install the bundled copy of ``pip`` if the existing installed "
800
800
"version of ``pip`` is older than the bundled copy."
801
801
msgstr ""
802
+ "该模块被命名为 *ensure*\\ pip 是因为如果在已安装 ``pip`` 的情况下被调用,它将不做任何操作。 它还有一个 "
803
+ "``--upgrade`` 选项可以在当前已安装的 ``pip`` 版本比所捆绑的副本更旧的情况下安装所捆绑的 ``pip`` 副本。"
802
804
803
805
#: ../../whatsnew/3.4.rst:508
804
806
msgid "enum"
@@ -812,6 +814,8 @@ msgid ""
812
814
"debugging support by replacing opaque integer constants with backwards "
813
815
"compatible enumeration values."
814
816
msgstr ""
817
+ "新增的 :mod:`enum` 模块(在 :pep:`435` 中定义)提供了枚举类型的标准实现,允许其他模块(如 :mod:`socket` "
818
+ "等)通过将含义不清晰的整数常量替换为可向下兼容的枚举值来提供更具信息量的错误消息和更好的调试支持。"
815
819
816
820
#: ../../whatsnew/3.4.rst:519
817
821
msgid ":pep:`435` -- Adding an Enum type to the Python standard library"
@@ -1018,6 +1022,8 @@ msgid ""
1018
1022
"Strings are not accepted: they didn't work before, now they raise an error "
1019
1023
"right away. (Contributed by Serhiy Storchaka in :issue:`16685`.)"
1020
1024
msgstr ""
1025
+ "所有 :mod:`audioop` 函数现在均接受任意 :term:`bytes-like object`。 "
1026
+ "字符串将不被接受:它们在之前也不可用,现在它们将立即引发错误。 (由 Serhiy Storchaka 在 :issue:`16685` 中贡献。)"
1021
1027
1022
1028
#: ../../whatsnew/3.4.rst:645
1023
1029
msgid "base64"
@@ -1030,6 +1036,9 @@ msgid ""
1030
1036
":class:`bytes` or :class:`bytearray` instance. (Contributed by Nick Coghlan"
1031
1037
" in :issue:`17839`.)"
1032
1038
msgstr ""
1039
+ "现在 :mod:`base64` 中的编码和解码函数在之前需要 :class:`bytes` 或 :class:`bytearray` "
1040
+ "实例的场合下均接受任意 :term:`bytes-like object`。 (由 Nick Coghlan 在 :issue:`17839` "
1041
+ "中贡献。)"
1033
1042
1034
1043
#: ../../whatsnew/3.4.rst:652
1035
1044
msgid ""
0 commit comments