@@ -1339,24 +1339,32 @@ msgid ""
1339
1339
"descriptors is now to provide :attr:`__isabstractmethod__` as a dynamically "
1340
1340
"updated property. The built-in descriptors have been updated accordingly."
1341
1341
msgstr ""
1342
+ "改进了对包含由抽象方法组成的描述器的抽象基类的支持。 现在声明抽象描述器的推荐方式是提供 :attr:`__isabstractmethod__` "
1343
+ "作为动态更新的特性属性。 内置的描述器已获得到相应的更新。"
1342
1344
1343
1345
#: ../../whatsnew/3.3.rst:919 ../../whatsnew/3.3.rst:2245
1344
1346
msgid ""
1345
1347
":class:`abc.abstractproperty` has been deprecated, use :class:`property` "
1346
1348
"with :func:`abc.abstractmethod` instead."
1347
1349
msgstr ""
1350
+ ":class:`abc.abstractproperty` 已被弃用,改为 :class:`property` 配合 "
1351
+ ":func:`abc.abstractmethod` 使用。"
1348
1352
1349
1353
#: ../../whatsnew/3.3.rst:921 ../../whatsnew/3.3.rst:2247
1350
1354
msgid ""
1351
1355
":class:`abc.abstractclassmethod` has been deprecated, use "
1352
1356
":class:`classmethod` with :func:`abc.abstractmethod` instead."
1353
1357
msgstr ""
1358
+ ":class:`abc.abstractclassmethod` 已被弃用,改为 :class:`classmethod` 配合 "
1359
+ ":func:`abc.abstractmethod` 使用。"
1354
1360
1355
1361
#: ../../whatsnew/3.3.rst:923 ../../whatsnew/3.3.rst:2249
1356
1362
msgid ""
1357
1363
":class:`abc.abstractstaticmethod` has been deprecated, use "
1358
1364
":class:`staticmethod` with :func:`abc.abstractmethod` instead."
1359
1365
msgstr ""
1366
+ ":class:`abc.abstractstaticmethod` 已被弃用,改为 :class:`staticmethod` 配合 "
1367
+ ":func:`abc.abstractmethod` 使用。"
1360
1368
1361
1369
#: ../../whatsnew/3.3.rst:926
1362
1370
msgid "(Contributed by Darren Dale in :issue:`11610`.)"
@@ -1367,6 +1375,7 @@ msgid ""
1367
1375
":meth:`abc.ABCMeta.register` now returns the registered subclass, which "
1368
1376
"means it can now be used as a class decorator (:issue:`10868`)."
1369
1377
msgstr ""
1378
+ "现在 :meth:`abc.ABCMeta.register` 将返回已注册的子类,这意味着它现在可被用作类装饰器 (:issue:`10868`)。"
1370
1379
1371
1380
#: ../../whatsnew/3.3.rst:933
1372
1381
msgid "array"
@@ -1393,6 +1402,9 @@ msgid ""
1393
1402
" :mod:`base64` modern interface. For example, ``base64.b64decode('YWJj')`` "
1394
1403
"returns ``b'abc'``. (Contributed by Catalin Iacob in :issue:`13641`.)"
1395
1404
msgstr ""
1405
+ "现在 :mod:`base64` 现代接口的解码函数可接受仅包含 ASCII 字符的 Unicode 字符串。 "
1406
+ "例如,``base64.b64decode('YWJj')`` 将返回 ``b'abc'``。 (由 Catalin Iacob 在 "
1407
+ ":issue:`13641` 中贡献。)"
1396
1408
1397
1409
#: ../../whatsnew/3.3.rst:950
1398
1410
msgid "binascii"
@@ -1404,6 +1416,8 @@ msgid ""
1404
1416
"functions now all also accept ASCII-only strings as input. (Contributed by "
1405
1417
"Antoine Pitrou in :issue:`13637`.)"
1406
1418
msgstr ""
1419
+ "除了它们通常接受的二进制对象,``a2b_`` 现在还接受仅包含 ASCII 字符的字符串作为输入。 (由 Antoine Pitrou 在 "
1420
+ ":issue:`13637` 中贡献。)"
1407
1421
1408
1422
#: ../../whatsnew/3.3.rst:958
1409
1423
msgid "bz2"
@@ -1438,6 +1452,9 @@ msgid ""
1438
1452
":class:`bz2.BZ2File` can now also be used to create this type of file, using"
1439
1453
" the ``'a'`` (append) mode."
1440
1454
msgstr ""
1455
+ "现在 :class:`bz2.BZ2File` 和 :func:`bz2.decompress` 能解压缩多流输入(比如由 "
1456
+ ":program:`pbzip2` 工具所产生的输入)。 :class:`bz2.BZ2File` 现在还可被用来创建这种类型的文件,具体做法是使用 "
1457
+ "``'a'`` (append) 模式。"
1441
1458
1442
1459
#: ../../whatsnew/3.3.rst:976
1443
1460
msgid "(Contributed by Nir Aides in :issue:`1625`.)"
@@ -1448,6 +1465,8 @@ msgid ""
1448
1465
":class:`bz2.BZ2File` now implements all of the :class:`io.BufferedIOBase` "
1449
1466
"API, except for the :meth:`detach` and :meth:`truncate` methods."
1450
1467
msgstr ""
1468
+ "现在 :class:`bz2.BZ2File` 实现了所有的 :class:`io.BufferedIOBase` API,但 "
1469
+ ":meth:`detach` 和 :meth:`truncate` 等方法除外。"
1451
1470
1452
1471
#: ../../whatsnew/3.3.rst:983
1453
1472
msgid "codecs"
0 commit comments