@@ -19,7 +19,7 @@ msgid ""
1919msgstr ""
2020"Project-Id-Version : Python 3.12\n "
2121"Report-Msgid-Bugs-To : \n "
22- "POT-Creation-Date : 2024-03-15 14:13 +0000\n "
22+ "POT-Creation-Date : 2024-03-22 14:14 +0000\n "
2323"PO-Revision-Date : 2021-06-28 00:47+0000\n "
2424"
Last-Translator :
Freesand Leo <[email protected] >, 2024\n "
2525"Language-Team : Chinese (China) (https://app.transifex.com/python-doc/teams/5390/zh_CN/)\n "
@@ -1457,39 +1457,10 @@ msgstr ""
14571457"方式来解决。"
14581458
14591459#: ../../glossary.rst:728
1460- msgid "locale encoding"
1461- msgstr "locale encoding -- 语言区域编码格式"
1462-
1463- #: ../../glossary.rst:730
1464- msgid ""
1465- "On Unix, it is the encoding of the LC_CTYPE locale. It can be set with "
1466- ":func:`locale.setlocale(locale.LC_CTYPE, new_locale) <locale.setlocale>`."
1467- msgstr ""
1468- "在 Unix 上,它是 LC_CTYPE 语言区域的编码格式。 它可以通过 "
1469- ":func:`locale.setlocale(locale.LC_CTYPE, new_locale) <locale.setlocale>` "
1470- "来设置。"
1471-
1472- #: ../../glossary.rst:733
1473- msgid "On Windows, it is the ANSI code page (ex: ``\" cp1252\" ``)."
1474- msgstr "在 Windows 上,它是 ANSI 代码页 (如: ``\" cp1252\" ``)。"
1475-
1476- #: ../../glossary.rst:735
1477- msgid "On Android and VxWorks, Python uses ``\" utf-8\" `` as the locale encoding."
1478- msgstr "在 Android 和 VxWorks 上,Python 使用 ``\" utf-8\" `` 作为语言区域编码格式。"
1479-
1480- #: ../../glossary.rst:737
1481- msgid "``locale.getencoding()`` can be used to get the locale encoding."
1482- msgstr "``locale.getencoding()`` 可被用来获取语言区域编码格式。"
1483-
1484- #: ../../glossary.rst:739
1485- msgid "See also the :term:`filesystem encoding and error handler`."
1486- msgstr "另请参阅 :term:`filesystem encoding and error handler`。"
1487-
1488- #: ../../glossary.rst:740
14891460msgid "list"
14901461msgstr "list -- 列表"
14911462
1492- #: ../../glossary.rst:742
1463+ #: ../../glossary.rst:730
14931464msgid ""
14941465"A built-in Python :term:`sequence`. Despite its name it is more akin to an "
14951466"array in other languages than to a linked list since access to elements is "
@@ -1498,11 +1469,11 @@ msgstr ""
14981469"一种 Python 内置 :term:`sequence`。 虽然名为列表,但它更类似于其他语言中的数组而非链表,因为访问元素的时间复杂度为 *O*\\ "
14991470" (1)。"
15001471
1501- #: ../../glossary.rst:745
1472+ #: ../../glossary.rst:733
15021473msgid "list comprehension"
15031474msgstr "list comprehension -- 列表推导式"
15041475
1505- #: ../../glossary.rst:747
1476+ #: ../../glossary.rst:735
15061477msgid ""
15071478"A compact way to process all or part of the elements in a sequence and "
15081479"return a list with the results. ``result = ['{:#04x}'.format(x) for x in "
@@ -1514,11 +1485,11 @@ msgstr ""
15141485"range(256) if x % 2 == 0]`` 将生成一个 0 到 255 范围内的十六进制偶数对应字符串(0x..)的列表。其中 "
15151486":keyword:`if` 子句是可选的,如果省略则 ``range(256)`` 中的所有元素都会被处理。"
15161487
1517- #: ../../glossary.rst:753
1488+ #: ../../glossary.rst:741
15181489msgid "loader"
15191490msgstr "loader -- 加载器"
15201491
1521- #: ../../glossary.rst:755
1492+ #: ../../glossary.rst:743
15221493msgid ""
15231494"An object that loads a module. It must define a method named "
15241495":meth:`load_module`. A loader is typically returned by a :term:`finder`. See"
@@ -1528,6 +1499,35 @@ msgstr ""
15281499"负责加载模块的对象。它必须定义名为 :meth:`load_module` 的方法。加载器通常由一个 :term:`finder` 返回。详情参见 "
15291500":pep:`302`,对于 :term:`abstract base class` 可参见 :class:`importlib.abc.Loader`。"
15301501
1502+ #: ../../glossary.rst:747
1503+ msgid "locale encoding"
1504+ msgstr "locale encoding -- 语言区域编码格式"
1505+
1506+ #: ../../glossary.rst:749
1507+ msgid ""
1508+ "On Unix, it is the encoding of the LC_CTYPE locale. It can be set with "
1509+ ":func:`locale.setlocale(locale.LC_CTYPE, new_locale) <locale.setlocale>`."
1510+ msgstr ""
1511+ "在 Unix 上,它是 LC_CTYPE 语言区域的编码格式。 它可以通过 "
1512+ ":func:`locale.setlocale(locale.LC_CTYPE, new_locale) <locale.setlocale>` "
1513+ "来设置。"
1514+
1515+ #: ../../glossary.rst:752
1516+ msgid "On Windows, it is the ANSI code page (ex: ``\" cp1252\" ``)."
1517+ msgstr "在 Windows 上,它是 ANSI 代码页 (如: ``\" cp1252\" ``)。"
1518+
1519+ #: ../../glossary.rst:754
1520+ msgid "On Android and VxWorks, Python uses ``\" utf-8\" `` as the locale encoding."
1521+ msgstr "在 Android 和 VxWorks 上,Python 使用 ``\" utf-8\" `` 作为语言区域编码格式。"
1522+
1523+ #: ../../glossary.rst:756
1524+ msgid ":func:`locale.getencoding` can be used to get the locale encoding."
1525+ msgstr ":func:`locale.getencoding` 可被用来获取语言区域编码格式。"
1526+
1527+ #: ../../glossary.rst:758
1528+ msgid "See also the :term:`filesystem encoding and error handler`."
1529+ msgstr "另请参阅 :term:`filesystem encoding and error handler`。"
1530+
15311531#: ../../glossary.rst:759
15321532msgid "magic method"
15331533msgstr "magic method -- 魔术方法"
0 commit comments