@@ -498,11 +498,14 @@ msgid ""
498
498
"``bytes | bytearray``, or :class:`collections.abc.Buffer`. (Contributed by "
499
499
"Shantanu Jain in :gh:`91896`.)"
500
500
msgstr ""
501
+ "自 Python 3.9 起已被棄用的 :class:`typing.ByteString`,計劃在 Python "
502
+ "3.17 中移除。建議改用 :class:`~collections.abc.Sequence` 或 :class:`~"
503
+ "collections.abc.Buffer`。在型別註釋中建議改用聯集,例如 ``bytes | "
504
+ "bytearray`` 或 :class:`collections.abc.Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"
501
505
502
506
#: ../../deprecations/pending-removal-in-3.17.rst:17
503
- #, fuzzy
504
507
msgid ":mod:`collections.abc`:"
505
- msgstr ":mod:`builtins `:"
508
+ msgstr ":mod:`collections.abc `:"
506
509
507
510
#: ../../deprecations/pending-removal-in-3.17.rst:19
508
511
msgid ""
@@ -512,6 +515,10 @@ msgid ""
512
515
"bytearray``, or :class:`collections.abc.Buffer`. (Contributed by Shantanu "
513
516
"Jain in :gh:`91896`.)"
514
517
msgstr ""
518
+ ":class:`collections.abc.ByteString` 計劃在 Python 3.17 中移除。建議改用 "
519
+ ":class:`~collections.abc.Sequence` 或 :class:`~collections.abc.Buffer`。在"
520
+ "型別註釋中建議改用聯集,例如 ``bytes | bytearray`` 或 :class:`collections.abc."
521
+ "Buffer`。(Shantanu Jain 於 :gh:`91896` 貢獻。)"
515
522
516
523
#: ../../deprecations/pending-removal-in-3.19.rst:2
517
524
msgid "Pending removal in Python 3.19"
@@ -1318,7 +1325,7 @@ msgstr "Python 3.18 中待移除的項目"
1318
1325
msgid ""
1319
1326
"The following private functions are deprecated and planned for removal in "
1320
1327
"Python 3.18:"
1321
- msgstr ""
1328
+ msgstr "以下私有函式已被棄用,並計劃在 Python 3.18 中移除: "
1322
1329
1323
1330
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:7
1324
1331
msgid ":c:func:`!_PyBytes_Join`: use :c:func:`PyBytes_Join`."
@@ -1333,7 +1340,6 @@ msgstr ""
1333
1340
"`PyDict_GetItemStringRef`。"
1334
1341
1335
1342
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:9
1336
- #, fuzzy
1337
1343
msgid ":c:func:`!_PyDict_Pop()`: use :c:func:`PyDict_Pop`."
1338
1344
msgstr ":c:func:`!_PyDict_Pop()`:請改用 :c:func:`PyDict_Pop`。"
1339
1345
@@ -1421,15 +1427,14 @@ msgstr ""
1421
1427
"<PyUnicodeWriter_WriteSubstring>`。"
1422
1428
1423
1429
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:33
1424
- #, fuzzy
1425
1430
msgid ""
1426
1431
":c:func:`!_PyUnicodeWriter_WriteASCIIString`: replace "
1427
1432
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` with :c:func:"
1428
1433
"`PyUnicodeWriter_WriteASCII(writer, str) <PyUnicodeWriter_WriteASCII>`."
1429
1434
msgstr ""
1430
1435
":c:func:`!_PyUnicodeWriter_WriteASCIIString`:將 "
1431
1436
"``_PyUnicodeWriter_WriteASCIIString(&writer, str)`` 替換為 :c:func:"
1432
- "`PyUnicodeWriter_WriteUTF8 (writer, str) <PyUnicodeWriter_WriteUTF8 >`。"
1437
+ "`PyUnicodeWriter_WriteASCII (writer, str) <PyUnicodeWriter_WriteASCII >`。"
1433
1438
1434
1439
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:36
1435
1440
msgid ""
@@ -1458,14 +1463,14 @@ msgid ":c:func:`!_Py_fopen_obj`: use :c:func:`Py_fopen`."
1458
1463
msgstr ":c:func:`!_Py_fopen_obj`:請改用 :c:func:`Py_fopen`。"
1459
1464
1460
1465
#: ../../deprecations/c-api-pending-removal-in-3.18.rst:44
1461
- #, fuzzy
1462
1466
msgid ""
1463
1467
"The `pythoncapi-compat project <https://github.com/python/pythoncapi-compat/"
1464
1468
">`__ can be used to get these new public functions on Python 3.13 and older. "
1465
1469
"(Contributed by Victor Stinner in :gh:`128863`.)"
1466
1470
msgstr ""
1467
1471
"可以使用 `pythoncapi-compat project <https://github.com/python/pythoncapi-"
1468
- "compat/>`__ 來取得這些於 Python 3.13 及更早版本的新公開函式。"
1472
+ "compat/>`__ 來取得這些於 Python 3.13 及更早版本的新公開函式。(由 "
1473
+ "Victor Stinner 在 :gh:`128863` 貢獻)"
1469
1474
1470
1475
#: ../../deprecations/c-api-pending-removal-in-future.rst:4
1471
1476
msgid ""
@@ -1569,6 +1574,3 @@ msgstr ""
1569
1574
#: ../../deprecations/c-api-pending-removal-in-future.rst:41
1570
1575
msgid ":c:func:`PyThread_ReInitTLS`: Unneeded since Python 3.7."
1571
1576
msgstr ":c:func:`PyThread_ReInitTLS`:自 Python 3.7 起不再需要。"
1572
-
1573
- #~ msgid "Deprecated private functions (:gh:`128863`):"
1574
- #~ msgstr "被棄用的私有函式 (:gh:`128863`):"
0 commit comments