diff --git a/c-api/bool.po b/c-api/bool.po index 8ba775df31..d90772c4a7 100644 --- a/c-api/bool.po +++ b/c-api/bool.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2021-12-09 20:47+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -39,12 +39,18 @@ msgstr "" #: ../../c-api/bool.rst:16 msgid "" +"This instance of :c:type:`PyTypeObject` represents the Python boolean type; " +"it is the same object as :class:`bool` in the Python layer." +msgstr "" + +#: ../../c-api/bool.rst:22 +msgid "" "Return true if *o* is of type :c:data:`PyBool_Type`. This function always " "succeeds." msgstr "" "如果 *o* 的型別為 :c:data:`PyBool_Type` 則回傳真值。此函式總是會成功執行。" -#: ../../c-api/bool.rst:22 +#: ../../c-api/bool.rst:28 msgid "" "The Python ``False`` object. This object has no methods and is `immortal " "`_." @@ -52,11 +58,11 @@ msgstr "" "Python 的 ``False`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) " "`_。" -#: ../../c-api/bool.rst:25 +#: ../../c-api/bool.rst:31 msgid ":c:data:`Py_False` is immortal." msgstr ":c:data:`Py_False` 為不滅的。" -#: ../../c-api/bool.rst:31 +#: ../../c-api/bool.rst:37 msgid "" "The Python ``True`` object. This object has no methods and is `immortal " "`_." @@ -64,19 +70,19 @@ msgstr "" "Python 的 ``True`` 物件。此物件沒有任何方法且為\\ `不滅的 (immortal) " "`_。" -#: ../../c-api/bool.rst:34 +#: ../../c-api/bool.rst:40 msgid ":c:data:`Py_True` is immortal." msgstr ":c:data:`Py_True` 為不滅的。" -#: ../../c-api/bool.rst:40 +#: ../../c-api/bool.rst:46 msgid "Return :c:data:`Py_False` from a function." msgstr "從函式回傳 :c:data:`Py_False`。" -#: ../../c-api/bool.rst:45 +#: ../../c-api/bool.rst:51 msgid "Return :c:data:`Py_True` from a function." msgstr "從函式回傳 :c:data:`Py_True`。" -#: ../../c-api/bool.rst:50 +#: ../../c-api/bool.rst:56 msgid "" "Return :c:data:`Py_True` or :c:data:`Py_False`, depending on the truth value " "of *v*." diff --git a/faq/extending.po b/faq/extending.po index 72715f7294..7cc1529f18 100644 --- a/faq/extending.po +++ b/faq/extending.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-03 00:17+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2023-02-18 13:08+0800\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -146,24 +146,24 @@ msgstr "如何從 Python 物件中提取 C 值?" msgid "" "That depends on the object's type. If it's a tuple, :c:func:`PyTuple_Size` " "returns its length and :c:func:`PyTuple_GetItem` returns the item at a " -"specified index. Lists have similar functions, :c:func:`PyListSize` and :c:" +"specified index. Lists have similar functions, :c:func:`PyList_Size` and :c:" "func:`PyList_GetItem`." msgstr "" "這取決於物件的型別。如果它是一個元組,:c:func:`PyTuple_Size` 回傳它的長度,:" "c:func:`PyTuple_GetItem` 回傳指定索引的項目。列表具有類似的函式:c:func:" -"`PyListSize` 和 :c:func:`PyList_GetItem`。" +"`PyList_Size` 和 :c:func:`PyList_GetItem`。" #: ../../faq/extending.rst:87 #, fuzzy msgid "" "For bytes, :c:func:`PyBytes_Size` returns its length and :c:func:" "`PyBytes_AsStringAndSize` provides a pointer to its value and its length. " -"Note that Python bytes objects may contain null bytes so C's :c:func:" -"`strlen` should not be used." +"Note that Python bytes objects may contain null bytes so C's :c:func:`!" +"strlen` should not be used." msgstr "" "對於位元組,:c:func:`PyBytes_Size` 回傳它的長度,:c:func:" "`PyBytes_AsStringAndSize` 提供指向它的值和長度的指標。請注意,Python 位元組物" -"件可能包含空位元組,因此不應使用 C 的 :c:func:`strlen`。" +"件可能包含空位元組,因此不應使用 C 的 :c:func:`!strlen`。" #: ../../faq/extending.rst:92 msgid "" diff --git a/howto/curses.po b/howto/curses.po index 780518edee..35aa97a92e 100644 --- a/howto/curses.po +++ b/howto/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-04 00:15+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:36+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -696,7 +696,7 @@ msgid "" "consult the manual pages for your curses implementation, whether it's " "ncurses or a proprietary Unix vendor's. The manual pages will document any " "quirks, and provide complete lists of all the functions, attributes, and :" -"const:`ACS_\\*` characters available to you." +"ref:`ACS_\\* ` characters available to you." msgstr "" #: ../../howto/curses.rst:533 diff --git a/install/index.po b/install/index.po index 7495a79c10..5f0af56ea9 100644 --- a/install/index.po +++ b/install/index.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-29 00:03+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:37+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1078,9 +1078,9 @@ msgstr "" #: ../../install/index.rst:780 msgid "" "On Unix, if the :envvar:`HOME` environment variable is not defined, the " -"user's home directory will be determined with the :func:`getpwuid` function " -"from the standard :mod:`pwd` module. This is done by the :func:`os.path." -"expanduser` function used by Distutils." +"user's home directory will be determined with the :func:`~pwd.getpwuid` " +"function from the standard :mod:`pwd` module. This is done by the :func:`os." +"path.expanduser` function used by Distutils." msgstr "" #: ../../install/index.rst:786 diff --git a/library/asyncio-extending.po b/library/asyncio-extending.po index f54974b6b3..e5d3e612c2 100644 --- a/library/asyncio-extending.po +++ b/library/asyncio-extending.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -114,7 +114,7 @@ msgstr "" #: ../../library/asyncio-extending.rst:71 msgid "" "A third party task implementation should call the following functions to " -"keep a task visible by :func:`asyncio.get_tasks` and :func:`asyncio." +"keep a task visible by :func:`asyncio.all_tasks` and :func:`asyncio." "current_task`:" msgstr "" diff --git a/library/asyncio-future.po b/library/asyncio-future.po index f0d21b09fb..38c2d3aef9 100644 --- a/library/asyncio-future.po +++ b/library/asyncio-future.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-03 00:22+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2022-01-25 01:29+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -407,7 +407,7 @@ msgstr "" #: ../../library/asyncio-future.rst:278 msgid "" ":meth:`asyncio.Future.cancel` accepts an optional ``msg`` argument, but :" -"func:`concurrent.futures.cancel` does not." +"meth:`concurrent.futures.Future.cancel` does not." msgstr "" ":meth:`asyncio.Future.cancel` 接受一個可選的 ``msg`` 引數,但 :func:" -"`concurrent.futures.cancel` 無此引數。" +"`concurrent.futures.Future.cancel` 無此引數。" diff --git a/library/bz2.po b/library/bz2.po index d3be07db75..e031a1d32b 100644 --- a/library/bz2.po +++ b/library/bz2.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:40+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -99,11 +99,11 @@ msgid "" "handling behavior, and line ending(s)." msgstr "" -#: ../../library/bz2.rst:59 ../../library/bz2.rst:124 +#: ../../library/bz2.rst:59 ../../library/bz2.rst:125 msgid "The ``'x'`` (exclusive creation) mode was added." msgstr "" -#: ../../library/bz2.rst:62 ../../library/bz2.rst:131 +#: ../../library/bz2.rst:62 ../../library/bz2.rst:132 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -148,22 +148,22 @@ msgstr "" #: ../../library/bz2.rst:89 msgid "" ":class:`BZ2File` provides all of the members specified by the :class:`io." -"BufferedIOBase`, except for :meth:`detach` and :meth:`truncate`. Iteration " -"and the :keyword:`with` statement are supported." +"BufferedIOBase`, except for :meth:`~io.BufferedIOBase.detach` and :meth:`~io." +"IOBase.truncate`. Iteration and the :keyword:`with` statement are supported." msgstr "" -#: ../../library/bz2.rst:93 +#: ../../library/bz2.rst:94 msgid ":class:`BZ2File` also provides the following method:" msgstr "" -#: ../../library/bz2.rst:97 +#: ../../library/bz2.rst:98 msgid "" "Return buffered data without advancing the file position. At least one byte " "of data will be returned (unless at EOF). The exact number of bytes returned " "is unspecified." msgstr "" -#: ../../library/bz2.rst:101 +#: ../../library/bz2.rst:102 msgid "" "While calling :meth:`peek` does not change the file position of the :class:" "`BZ2File`, it may change the position of the underlying file object (e.g. if " @@ -171,99 +171,99 @@ msgid "" "*filename*)." msgstr "" -#: ../../library/bz2.rst:109 +#: ../../library/bz2.rst:110 msgid "Support for the :keyword:`with` statement was added." msgstr "" -#: ../../library/bz2.rst:112 +#: ../../library/bz2.rst:113 msgid "" "The :meth:`fileno`, :meth:`readable`, :meth:`seekable`, :meth:`writable`, :" "meth:`read1` and :meth:`readinto` methods were added." msgstr "" -#: ../../library/bz2.rst:116 +#: ../../library/bz2.rst:117 msgid "" "Support was added for *filename* being a :term:`file object` instead of an " "actual filename." msgstr "" -#: ../../library/bz2.rst:120 +#: ../../library/bz2.rst:121 msgid "" "The ``'a'`` (append) mode was added, along with support for reading multi-" "stream files." msgstr "" -#: ../../library/bz2.rst:127 +#: ../../library/bz2.rst:128 msgid "" "The :meth:`~io.BufferedIOBase.read` method now accepts an argument of " "``None``." msgstr "" -#: ../../library/bz2.rst:134 +#: ../../library/bz2.rst:135 msgid "" "The *buffering* parameter has been removed. It was ignored and deprecated " "since Python 3.0. Pass an open file object to control how the file is opened." msgstr "" -#: ../../library/bz2.rst:139 +#: ../../library/bz2.rst:140 msgid "The *compresslevel* parameter became keyword-only." msgstr "" -#: ../../library/bz2.rst:141 +#: ../../library/bz2.rst:142 msgid "" "This class is thread unsafe in the face of multiple simultaneous readers or " "writers, just like its equivalent classes in :mod:`gzip` and :mod:`lzma` " "have always been." msgstr "" -#: ../../library/bz2.rst:148 +#: ../../library/bz2.rst:149 msgid "Incremental (de)compression" msgstr "" -#: ../../library/bz2.rst:152 +#: ../../library/bz2.rst:153 msgid "" "Create a new compressor object. This object may be used to compress data " "incrementally. For one-shot compression, use the :func:`compress` function " "instead." msgstr "" -#: ../../library/bz2.rst:156 ../../library/bz2.rst:244 +#: ../../library/bz2.rst:157 ../../library/bz2.rst:245 msgid "" "*compresslevel*, if given, must be an integer between ``1`` and ``9``. The " "default is ``9``." msgstr "" -#: ../../library/bz2.rst:161 +#: ../../library/bz2.rst:162 msgid "" "Provide data to the compressor object. Returns a chunk of compressed data if " "possible, or an empty byte string otherwise." msgstr "" -#: ../../library/bz2.rst:164 +#: ../../library/bz2.rst:165 msgid "" "When you have finished providing data to the compressor, call the :meth:" "`flush` method to finish the compression process." msgstr "" -#: ../../library/bz2.rst:170 +#: ../../library/bz2.rst:171 msgid "" "Finish the compression process. Returns the compressed data left in internal " "buffers." msgstr "" -#: ../../library/bz2.rst:173 +#: ../../library/bz2.rst:174 msgid "" "The compressor object may not be used after this method has been called." msgstr "" -#: ../../library/bz2.rst:178 +#: ../../library/bz2.rst:179 msgid "" "Create a new decompressor object. This object may be used to decompress data " "incrementally. For one-shot compression, use the :func:`decompress` function " "instead." msgstr "" -#: ../../library/bz2.rst:183 +#: ../../library/bz2.rst:184 msgid "" "This class does not transparently handle inputs containing multiple " "compressed streams, unlike :func:`decompress` and :class:`BZ2File`. If you " @@ -271,7 +271,7 @@ msgid "" "must use a new decompressor for each stream." msgstr "" -#: ../../library/bz2.rst:190 +#: ../../library/bz2.rst:191 msgid "" "Decompress *data* (a :term:`bytes-like object`), returning uncompressed data " "as bytes. Some of *data* may be buffered internally, for use in later calls " @@ -279,7 +279,7 @@ msgid "" "output of any previous calls to :meth:`decompress`." msgstr "" -#: ../../library/bz2.rst:196 +#: ../../library/bz2.rst:197 msgid "" "If *max_length* is nonnegative, returns at most *max_length* bytes of " "decompressed data. If this limit is reached and further output can be " @@ -288,99 +288,99 @@ msgid "" "``b''`` to obtain more of the output." msgstr "" -#: ../../library/bz2.rst:203 +#: ../../library/bz2.rst:204 msgid "" "If all of the input data was decompressed and returned (either because this " "was less than *max_length* bytes, or because *max_length* was negative), " "the :attr:`~.needs_input` attribute will be set to ``True``." msgstr "" -#: ../../library/bz2.rst:208 +#: ../../library/bz2.rst:209 msgid "" "Attempting to decompress data after the end of stream is reached raises an :" "exc:`EOFError`. Any data found after the end of the stream is ignored and " "saved in the :attr:`~.unused_data` attribute." msgstr "" -#: ../../library/bz2.rst:212 +#: ../../library/bz2.rst:213 msgid "Added the *max_length* parameter." msgstr "新增 *max_length* 參數。" -#: ../../library/bz2.rst:217 +#: ../../library/bz2.rst:218 msgid "``True`` if the end-of-stream marker has been reached." msgstr "" -#: ../../library/bz2.rst:224 +#: ../../library/bz2.rst:225 msgid "Data found after the end of the compressed stream." msgstr "" -#: ../../library/bz2.rst:226 +#: ../../library/bz2.rst:227 msgid "" "If this attribute is accessed before the end of the stream has been reached, " "its value will be ``b''``." msgstr "" -#: ../../library/bz2.rst:231 +#: ../../library/bz2.rst:232 msgid "" "``False`` if the :meth:`.decompress` method can provide more decompressed " "data before requiring new uncompressed input." msgstr "" -#: ../../library/bz2.rst:238 +#: ../../library/bz2.rst:239 msgid "One-shot (de)compression" msgstr "" -#: ../../library/bz2.rst:242 +#: ../../library/bz2.rst:243 msgid "Compress *data*, a :term:`bytes-like object `." msgstr "" -#: ../../library/bz2.rst:247 +#: ../../library/bz2.rst:248 msgid "For incremental compression, use a :class:`BZ2Compressor` instead." msgstr "" -#: ../../library/bz2.rst:252 +#: ../../library/bz2.rst:253 msgid "Decompress *data*, a :term:`bytes-like object `." msgstr "" -#: ../../library/bz2.rst:254 +#: ../../library/bz2.rst:255 msgid "" "If *data* is the concatenation of multiple compressed streams, decompress " "all of the streams." msgstr "" -#: ../../library/bz2.rst:257 +#: ../../library/bz2.rst:258 msgid "For incremental decompression, use a :class:`BZ2Decompressor` instead." msgstr "" -#: ../../library/bz2.rst:259 +#: ../../library/bz2.rst:260 msgid "Support for multi-stream inputs was added." msgstr "" -#: ../../library/bz2.rst:265 +#: ../../library/bz2.rst:266 msgid "Examples of usage" msgstr "用法範例" -#: ../../library/bz2.rst:267 +#: ../../library/bz2.rst:268 msgid "Below are some examples of typical usage of the :mod:`bz2` module." msgstr "" -#: ../../library/bz2.rst:269 +#: ../../library/bz2.rst:270 msgid "" "Using :func:`compress` and :func:`decompress` to demonstrate round-trip " "compression:" msgstr "" -#: ../../library/bz2.rst:287 +#: ../../library/bz2.rst:288 msgid "Using :class:`BZ2Compressor` for incremental compression:" msgstr "" -#: ../../library/bz2.rst:305 +#: ../../library/bz2.rst:306 msgid "" -"The example above uses a very \"nonrandom\" stream of data (a stream of ``b" -"\"z\"`` chunks). Random data tends to compress poorly, while ordered, " +"The example above uses a very \"nonrandom\" stream of data (a stream of " +"``b\"z\"`` chunks). Random data tends to compress poorly, while ordered, " "repetitive data usually yields a high compression ratio." msgstr "" -#: ../../library/bz2.rst:309 +#: ../../library/bz2.rst:310 msgid "Writing and reading a bzip2-compressed file in binary mode:" msgstr "" diff --git a/library/code.po b/library/code.po index c41efdc20b..a6f31b3d9a 100644 --- a/library/code.po +++ b/library/code.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-20 18:08+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:40+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -215,13 +215,13 @@ msgstr "" msgid "" "Push a line of source text to the interpreter. The line should not have a " "trailing newline; it may have internal newlines. The line is appended to a " -"buffer and the interpreter's :meth:`runsource` method is called with the " -"concatenated contents of the buffer as source. If this indicates that the " -"command was executed or invalid, the buffer is reset; otherwise, the command " -"is incomplete, and the buffer is left as it was after the line was " -"appended. The return value is ``True`` if more input is required, ``False`` " -"if the line was dealt with in some way (this is the same as :meth:" -"`runsource`)." +"buffer and the interpreter's :meth:`~InteractiveInterpreter.runsource` " +"method is called with the concatenated contents of the buffer as source. If " +"this indicates that the command was executed or invalid, the buffer is " +"reset; otherwise, the command is incomplete, and the buffer is left as it " +"was after the line was appended. The return value is ``True`` if more input " +"is required, ``False`` if the line was dealt with in some way (this is the " +"same as :meth:`!runsource`)." msgstr "" #: ../../library/code.rst:176 diff --git a/library/concurrent.po b/library/concurrent.po index 213315cba6..bfa5989eb2 100644 --- a/library/concurrent.po +++ b/library/concurrent.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-26 18:54+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2015-12-09 17:51+0000\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -20,8 +20,8 @@ msgstr "" "Plural-Forms: nplurals=1; plural=0;\n" #: ../../library/concurrent.rst:2 -msgid "The :mod:`concurrent` package" -msgstr ":mod:`concurrent` 套件" +msgid "The :mod:`!concurrent` package" +msgstr ":mod:`!concurrent` 套件" #: ../../library/concurrent.rst:4 msgid "Currently, there is only one module in this package:" diff --git a/library/curses.po b/library/curses.po index e3453377ee..20df87361f 100644 --- a/library/curses.po +++ b/library/curses.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-23 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:42+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -263,7 +263,7 @@ msgid "" "const:`BUTTON_ALT`." msgstr "" -#: ../../library/curses.rst:213 ../../library/curses.rst:1772 +#: ../../library/curses.rst:213 ../../library/curses.rst:1774 msgid "" "The ``BUTTON5_*`` constants are now exposed if they are provided by the " "underlying curses library." @@ -1523,7 +1523,7 @@ msgid "Attribute" msgstr "" #: ../../library/curses.rst:1372 ../../library/curses.rst:1417 -#: ../../library/curses.rst:1661 ../../library/curses.rst:1753 +#: ../../library/curses.rst:1663 ../../library/curses.rst:1755 msgid "Meaning" msgstr "" @@ -2027,8 +2027,8 @@ msgstr "" msgid "Keycap" msgstr "" -#: ../../library/curses.rst:1636 ../../library/curses.rst:1779 -#: ../../library/curses.rst:1903 +#: ../../library/curses.rst:1636 ../../library/curses.rst:1781 +#: ../../library/curses.rst:1905 msgid "Constant" msgstr "" @@ -2080,7 +2080,7 @@ msgstr ":kbd:`Page Down`" msgid "KEY_NPAGE" msgstr "KEY_NPAGE" -#: ../../library/curses.rst:1651 +#: ../../library/curses.rst:1653 msgid "" "The following table lists characters from the alternate character set. These " "are inherited from the VT100 terminal, and will generally be available on " @@ -2088,268 +2088,268 @@ msgid "" "available, curses falls back on a crude printable ASCII approximation." msgstr "" -#: ../../library/curses.rst:1658 +#: ../../library/curses.rst:1660 msgid "These are available only after :func:`initscr` has been called." msgstr "" -#: ../../library/curses.rst:1661 +#: ../../library/curses.rst:1663 msgid "ACS code" msgstr "" -#: ../../library/curses.rst:1663 +#: ../../library/curses.rst:1665 msgid "alternate name for upper right corner" msgstr "" -#: ../../library/curses.rst:1665 +#: ../../library/curses.rst:1667 msgid "solid square block" msgstr "" -#: ../../library/curses.rst:1667 +#: ../../library/curses.rst:1669 msgid "board of squares" msgstr "" -#: ../../library/curses.rst:1669 +#: ../../library/curses.rst:1671 msgid "alternate name for horizontal line" msgstr "" -#: ../../library/curses.rst:1671 +#: ../../library/curses.rst:1673 msgid "alternate name for upper left corner" msgstr "" -#: ../../library/curses.rst:1673 +#: ../../library/curses.rst:1675 msgid "alternate name for top tee" msgstr "" -#: ../../library/curses.rst:1675 +#: ../../library/curses.rst:1677 msgid "bottom tee" msgstr "" -#: ../../library/curses.rst:1677 +#: ../../library/curses.rst:1679 msgid "bullet" msgstr "" -#: ../../library/curses.rst:1679 +#: ../../library/curses.rst:1681 msgid "checker board (stipple)" msgstr "" -#: ../../library/curses.rst:1681 +#: ../../library/curses.rst:1683 msgid "arrow pointing down" msgstr "" -#: ../../library/curses.rst:1683 +#: ../../library/curses.rst:1685 msgid "degree symbol" msgstr "" -#: ../../library/curses.rst:1685 +#: ../../library/curses.rst:1687 msgid "diamond" msgstr "" -#: ../../library/curses.rst:1687 +#: ../../library/curses.rst:1689 msgid "greater-than-or-equal-to" msgstr "" -#: ../../library/curses.rst:1689 +#: ../../library/curses.rst:1691 msgid "horizontal line" msgstr "" -#: ../../library/curses.rst:1691 +#: ../../library/curses.rst:1693 msgid "lantern symbol" msgstr "" -#: ../../library/curses.rst:1693 +#: ../../library/curses.rst:1695 msgid "left arrow" msgstr "" -#: ../../library/curses.rst:1695 +#: ../../library/curses.rst:1697 msgid "less-than-or-equal-to" msgstr "" -#: ../../library/curses.rst:1697 +#: ../../library/curses.rst:1699 msgid "lower left-hand corner" msgstr "" -#: ../../library/curses.rst:1699 +#: ../../library/curses.rst:1701 msgid "lower right-hand corner" msgstr "" -#: ../../library/curses.rst:1701 +#: ../../library/curses.rst:1703 msgid "left tee" msgstr "" -#: ../../library/curses.rst:1703 +#: ../../library/curses.rst:1705 msgid "not-equal sign" msgstr "" -#: ../../library/curses.rst:1705 +#: ../../library/curses.rst:1707 msgid "letter pi" msgstr "" -#: ../../library/curses.rst:1707 +#: ../../library/curses.rst:1709 msgid "plus-or-minus sign" msgstr "" -#: ../../library/curses.rst:1709 +#: ../../library/curses.rst:1711 msgid "big plus sign" msgstr "" -#: ../../library/curses.rst:1711 +#: ../../library/curses.rst:1713 msgid "right arrow" msgstr "" -#: ../../library/curses.rst:1713 +#: ../../library/curses.rst:1715 msgid "right tee" msgstr "" -#: ../../library/curses.rst:1715 +#: ../../library/curses.rst:1717 msgid "scan line 1" msgstr "" -#: ../../library/curses.rst:1717 +#: ../../library/curses.rst:1719 msgid "scan line 3" msgstr "" -#: ../../library/curses.rst:1719 +#: ../../library/curses.rst:1721 msgid "scan line 7" msgstr "" -#: ../../library/curses.rst:1721 +#: ../../library/curses.rst:1723 msgid "scan line 9" msgstr "" -#: ../../library/curses.rst:1723 +#: ../../library/curses.rst:1725 msgid "alternate name for lower right corner" msgstr "" -#: ../../library/curses.rst:1725 +#: ../../library/curses.rst:1727 msgid "alternate name for vertical line" msgstr "" -#: ../../library/curses.rst:1727 +#: ../../library/curses.rst:1729 msgid "alternate name for right tee" msgstr "" -#: ../../library/curses.rst:1729 +#: ../../library/curses.rst:1731 msgid "alternate name for lower left corner" msgstr "" -#: ../../library/curses.rst:1731 +#: ../../library/curses.rst:1733 msgid "alternate name for bottom tee" msgstr "" -#: ../../library/curses.rst:1733 +#: ../../library/curses.rst:1735 msgid "alternate name for left tee" msgstr "" -#: ../../library/curses.rst:1735 +#: ../../library/curses.rst:1737 msgid "alternate name for crossover or big plus" msgstr "" -#: ../../library/curses.rst:1737 +#: ../../library/curses.rst:1739 msgid "pound sterling" msgstr "" -#: ../../library/curses.rst:1739 +#: ../../library/curses.rst:1741 msgid "top tee" msgstr "" -#: ../../library/curses.rst:1741 +#: ../../library/curses.rst:1743 msgid "up arrow" msgstr "" -#: ../../library/curses.rst:1743 +#: ../../library/curses.rst:1745 msgid "upper left corner" msgstr "" -#: ../../library/curses.rst:1745 +#: ../../library/curses.rst:1747 msgid "upper right corner" msgstr "" -#: ../../library/curses.rst:1747 +#: ../../library/curses.rst:1749 msgid "vertical line" msgstr "" -#: ../../library/curses.rst:1750 +#: ../../library/curses.rst:1752 msgid "" "The following table lists mouse button constants used by :meth:`getmouse`:" msgstr "" -#: ../../library/curses.rst:1753 +#: ../../library/curses.rst:1755 msgid "Mouse button constant" msgstr "" -#: ../../library/curses.rst:1755 +#: ../../library/curses.rst:1757 msgid "Mouse button *n* pressed" msgstr "" -#: ../../library/curses.rst:1757 +#: ../../library/curses.rst:1759 msgid "Mouse button *n* released" msgstr "" -#: ../../library/curses.rst:1759 +#: ../../library/curses.rst:1761 msgid "Mouse button *n* clicked" msgstr "" -#: ../../library/curses.rst:1761 +#: ../../library/curses.rst:1763 msgid "Mouse button *n* double clicked" msgstr "" -#: ../../library/curses.rst:1763 +#: ../../library/curses.rst:1765 msgid "Mouse button *n* triple clicked" msgstr "" -#: ../../library/curses.rst:1765 +#: ../../library/curses.rst:1767 msgid "Shift was down during button state change" msgstr "" -#: ../../library/curses.rst:1767 ../../library/curses.rst:1769 +#: ../../library/curses.rst:1769 ../../library/curses.rst:1771 msgid "Control was down during button state change" msgstr "" -#: ../../library/curses.rst:1776 +#: ../../library/curses.rst:1778 msgid "The following table lists the predefined colors:" msgstr "" -#: ../../library/curses.rst:1779 +#: ../../library/curses.rst:1781 msgid "Color" msgstr "顏色" -#: ../../library/curses.rst:1781 +#: ../../library/curses.rst:1783 msgid "Black" msgstr "黑" -#: ../../library/curses.rst:1783 +#: ../../library/curses.rst:1785 msgid "Blue" msgstr "藍" -#: ../../library/curses.rst:1785 +#: ../../library/curses.rst:1787 msgid "Cyan (light greenish blue)" msgstr "" -#: ../../library/curses.rst:1787 +#: ../../library/curses.rst:1789 msgid "Green" msgstr "綠" -#: ../../library/curses.rst:1789 +#: ../../library/curses.rst:1791 msgid "Magenta (purplish red)" msgstr "" -#: ../../library/curses.rst:1791 +#: ../../library/curses.rst:1793 msgid "Red" msgstr "紅" -#: ../../library/curses.rst:1793 +#: ../../library/curses.rst:1795 msgid "White" msgstr "白" -#: ../../library/curses.rst:1795 +#: ../../library/curses.rst:1797 msgid "Yellow" msgstr "" -#: ../../library/curses.rst:1800 +#: ../../library/curses.rst:1802 msgid ":mod:`curses.textpad` --- Text input widget for curses programs" msgstr "" -#: ../../library/curses.rst:1808 +#: ../../library/curses.rst:1810 msgid "" "The :mod:`curses.textpad` module provides a :class:`Textbox` class that " "handles elementary text editing in a curses window, supporting a set of " @@ -2359,11 +2359,11 @@ msgid "" "purposes." msgstr "" -#: ../../library/curses.rst:1814 +#: ../../library/curses.rst:1816 msgid "The module :mod:`curses.textpad` defines the following function:" msgstr "" -#: ../../library/curses.rst:1819 +#: ../../library/curses.rst:1821 msgid "" "Draw a rectangle. The first argument must be a window object; the remaining " "arguments are coordinates relative to that window. The second and third " @@ -2375,15 +2375,15 @@ msgid "" "will be drawn with ASCII dashes, vertical bars, and plus signs." msgstr "" -#: ../../library/curses.rst:1832 +#: ../../library/curses.rst:1834 msgid "Textbox objects" msgstr "" -#: ../../library/curses.rst:1834 +#: ../../library/curses.rst:1836 msgid "You can instantiate a :class:`Textbox` object as follows:" msgstr "" -#: ../../library/curses.rst:1839 +#: ../../library/curses.rst:1841 msgid "" "Return a textbox widget object. The *win* argument should be a curses :ref:" "`window ` object in which the textbox is to be " @@ -2392,11 +2392,11 @@ msgid "" "instance's :attr:`stripspaces` flag is initially on." msgstr "" -#: ../../library/curses.rst:1845 +#: ../../library/curses.rst:1847 msgid ":class:`Textbox` objects have the following methods:" msgstr "" -#: ../../library/curses.rst:1850 +#: ../../library/curses.rst:1852 msgid "" "This is the entry point you will normally use. It accepts editing " "keystrokes until one of the termination keystrokes is entered. If " @@ -2407,167 +2407,167 @@ msgid "" "`stripspaces` attribute." msgstr "" -#: ../../library/curses.rst:1861 +#: ../../library/curses.rst:1863 msgid "" "Process a single command keystroke. Here are the supported special " "keystrokes:" msgstr "" -#: ../../library/curses.rst:1865 ../../library/curses.rst:1903 +#: ../../library/curses.rst:1867 ../../library/curses.rst:1905 msgid "Keystroke" msgstr "" -#: ../../library/curses.rst:1865 +#: ../../library/curses.rst:1867 msgid "Action" msgstr "" -#: ../../library/curses.rst:1867 +#: ../../library/curses.rst:1869 msgid ":kbd:`Control-A`" msgstr ":kbd:`Control-A`" -#: ../../library/curses.rst:1867 +#: ../../library/curses.rst:1869 msgid "Go to left edge of window." msgstr "" -#: ../../library/curses.rst:1869 ../../library/curses.rst:1905 +#: ../../library/curses.rst:1871 ../../library/curses.rst:1907 msgid ":kbd:`Control-B`" msgstr ":kbd:`Control-B`" -#: ../../library/curses.rst:1869 +#: ../../library/curses.rst:1871 msgid "Cursor left, wrapping to previous line if appropriate." msgstr "" -#: ../../library/curses.rst:1872 +#: ../../library/curses.rst:1874 msgid ":kbd:`Control-D`" msgstr ":kbd:`Control-D`" -#: ../../library/curses.rst:1872 +#: ../../library/curses.rst:1874 msgid "Delete character under cursor." msgstr "" -#: ../../library/curses.rst:1874 +#: ../../library/curses.rst:1876 msgid ":kbd:`Control-E`" msgstr ":kbd:`Control-E`" -#: ../../library/curses.rst:1874 +#: ../../library/curses.rst:1876 msgid "Go to right edge (stripspaces off) or end of line (stripspaces on)." msgstr "" -#: ../../library/curses.rst:1877 ../../library/curses.rst:1907 +#: ../../library/curses.rst:1879 ../../library/curses.rst:1909 msgid ":kbd:`Control-F`" msgstr ":kbd:`Control-F`" -#: ../../library/curses.rst:1877 +#: ../../library/curses.rst:1879 msgid "Cursor right, wrapping to next line when appropriate." msgstr "" -#: ../../library/curses.rst:1880 +#: ../../library/curses.rst:1882 msgid ":kbd:`Control-G`" msgstr ":kbd:`Control-G`" -#: ../../library/curses.rst:1880 +#: ../../library/curses.rst:1882 msgid "Terminate, returning the window contents." msgstr "" -#: ../../library/curses.rst:1882 +#: ../../library/curses.rst:1884 msgid ":kbd:`Control-H`" msgstr ":kbd:`Control-H`" -#: ../../library/curses.rst:1882 +#: ../../library/curses.rst:1884 msgid "Delete character backward." msgstr "" -#: ../../library/curses.rst:1884 +#: ../../library/curses.rst:1886 msgid ":kbd:`Control-J`" msgstr ":kbd:`Control-J`" -#: ../../library/curses.rst:1884 +#: ../../library/curses.rst:1886 msgid "Terminate if the window is 1 line, otherwise insert newline." msgstr "" -#: ../../library/curses.rst:1887 +#: ../../library/curses.rst:1889 msgid ":kbd:`Control-K`" msgstr ":kbd:`Control-K`" -#: ../../library/curses.rst:1887 +#: ../../library/curses.rst:1889 msgid "If line is blank, delete it, otherwise clear to end of line." msgstr "" -#: ../../library/curses.rst:1890 +#: ../../library/curses.rst:1892 msgid ":kbd:`Control-L`" msgstr ":kbd:`Control-L`" -#: ../../library/curses.rst:1890 +#: ../../library/curses.rst:1892 msgid "Refresh screen." msgstr "" -#: ../../library/curses.rst:1892 ../../library/curses.rst:1911 +#: ../../library/curses.rst:1894 ../../library/curses.rst:1913 msgid ":kbd:`Control-N`" msgstr ":kbd:`Control-N`" -#: ../../library/curses.rst:1892 +#: ../../library/curses.rst:1894 msgid "Cursor down; move down one line." msgstr "" -#: ../../library/curses.rst:1894 +#: ../../library/curses.rst:1896 msgid ":kbd:`Control-O`" msgstr ":kbd:`Control-O`" -#: ../../library/curses.rst:1894 +#: ../../library/curses.rst:1896 msgid "Insert a blank line at cursor location." msgstr "" -#: ../../library/curses.rst:1896 ../../library/curses.rst:1909 +#: ../../library/curses.rst:1898 ../../library/curses.rst:1911 msgid ":kbd:`Control-P`" msgstr ":kbd:`Control-P`" -#: ../../library/curses.rst:1896 +#: ../../library/curses.rst:1898 msgid "Cursor up; move up one line." msgstr "" -#: ../../library/curses.rst:1899 +#: ../../library/curses.rst:1901 msgid "" "Move operations do nothing if the cursor is at an edge where the movement is " "not possible. The following synonyms are supported where possible:" msgstr "" -#: ../../library/curses.rst:1905 +#: ../../library/curses.rst:1907 msgid ":const:`~curses.KEY_LEFT`" msgstr ":const:`~curses.KEY_LEFT`" -#: ../../library/curses.rst:1907 +#: ../../library/curses.rst:1909 msgid ":const:`~curses.KEY_RIGHT`" msgstr ":const:`~curses.KEY_RIGHT`" -#: ../../library/curses.rst:1909 +#: ../../library/curses.rst:1911 msgid ":const:`~curses.KEY_UP`" msgstr ":const:`~curses.KEY_UP`" -#: ../../library/curses.rst:1911 +#: ../../library/curses.rst:1913 msgid ":const:`~curses.KEY_DOWN`" msgstr ":const:`~curses.KEY_DOWN`" -#: ../../library/curses.rst:1913 +#: ../../library/curses.rst:1915 msgid ":const:`~curses.KEY_BACKSPACE`" msgstr ":const:`~curses.KEY_BACKSPACE`" -#: ../../library/curses.rst:1913 +#: ../../library/curses.rst:1915 msgid ":kbd:`Control-h`" msgstr ":kbd:`Control-h`" -#: ../../library/curses.rst:1916 +#: ../../library/curses.rst:1918 msgid "" "All other keystrokes are treated as a command to insert the given character " "and move right (with line wrapping)." msgstr "" -#: ../../library/curses.rst:1922 +#: ../../library/curses.rst:1924 msgid "" "Return the window contents as a string; whether blanks in the window are " "included is affected by the :attr:`stripspaces` member." msgstr "" -#: ../../library/curses.rst:1928 +#: ../../library/curses.rst:1930 msgid "" "This attribute is a flag which controls the interpretation of blanks in the " "window. When it is on, trailing blanks on each line are ignored; any cursor " diff --git a/library/email.charset.po b/library/email.charset.po index 129293d5bb..bd49436a4e 100644 --- a/library/email.charset.po +++ b/library/email.charset.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:43+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -206,8 +206,8 @@ msgstr "" #: ../../library/email.charset.rst:152 msgid "" -"Returns *input_charset* as a string coerced to lower case. :meth:`__repr__` " -"is an alias for :meth:`__str__`." +"Returns *input_charset* as a string coerced to lower case. :meth:`!__repr__` " +"is an alias for :meth:`!__str__`." msgstr "" #: ../../library/email.charset.rst:158 diff --git a/library/email.encoders.po b/library/email.encoders.po index a50a9a08cc..f779f67dfc 100644 --- a/library/email.encoders.po +++ b/library/email.encoders.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-20 18:08+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:44+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -58,8 +58,8 @@ msgstr "" #: ../../library/email.encoders.rst:27 msgid "" "The :mod:`email` package provides some convenient encoders in its :mod:" -"`encoders` module. These encoders are actually used by the :class:`~email." -"mime.audio.MIMEAudio` and :class:`~email.mime.image.MIMEImage` class " +"`~email.encoders` module. These encoders are actually used by the :class:" +"`~email.mime.audio.MIMEAudio` and :class:`~email.mime.image.MIMEImage` class " "constructors to provide default encodings. All encoder functions take " "exactly one argument, the message object to encode. They usually extract " "the payload, encode it, and reset the payload to this newly encoded value. " diff --git a/library/email.generator.po b/library/email.generator.po index c42213c070..9d22bbbf86 100644 --- a/library/email.generator.po +++ b/library/email.generator.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-02 00:25+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:44+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -320,8 +320,8 @@ msgstr "註解" #: ../../library/email.generator.rst:276 msgid "" "This statement assumes that you use the appropriate setting for " -"``unixfrom``, and that there are no :mod:`policy` settings calling for " -"automatic adjustments (for example, :attr:`~email.policy.Policy." +"``unixfrom``, and that there are no :mod:`email.policy` settings calling for " +"automatic adjustments (for example, :attr:`~email.policy.EmailPolicy." "refold_source` must be ``none``, which is *not* the default). It is also " "not 100% true, since if the message does not conform to the RFC standards " "occasionally information about the exact original text is lost during " diff --git a/library/email.message.po b/library/email.message.po index 0358d305cc..9003644575 100644 --- a/library/email.message.po +++ b/library/email.message.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-20 18:08+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 14:44+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -100,9 +100,9 @@ msgid "" "defaults to ``False``. For backward compatibility with the base :class:" "`~email.message.Message` class *maxheaderlen* is accepted, but defaults to " "``None``, which means that by default the line length is controlled by the :" -"attr:`~email.policy.EmailPolicy.max_line_length` of the policy. The " -"*policy* argument may be used to override the default policy obtained from " -"the message instance. This can be used to control some of the formatting " +"attr:`~email.policy.Policy.max_line_length` of the policy. The *policy* " +"argument may be used to override the default policy obtained from the " +"message instance. This can be used to control some of the formatting " "produced by the method, since the specified *policy* will be passed to the :" "class:`~email.generator.Generator`." msgstr "" @@ -267,11 +267,11 @@ msgstr "" #: ../../library/email.message.rst:216 msgid "" -"If the :mod:`policy` defines certain headers to be unique (as the standard " -"policies do), this method may raise a :exc:`ValueError` when an attempt is " -"made to assign a value to such a header when one already exists. This " -"behavior is intentional for consistency's sake, but do not depend on it as " -"we may choose to make such assignments do an automatic deletion of the " +"If the :mod:`policy ` defines certain headers to be unique (as " +"the standard policies do), this method may raise a :exc:`ValueError` when an " +"attempt is made to assign a value to such a header when one already exists. " +"This behavior is intentional for consistency's sake, but do not depend on it " +"as we may choose to make such assignments do an automatic deletion of the " "existing header in the future." msgstr "" @@ -451,8 +451,8 @@ msgstr "" #: ../../library/email.message.rst:380 msgid "" "Note that existing parameter values of headers may be accessed through the :" -"attr:`~email.headerregistry.BaseHeader.params` attribute of the header value " -"(for example, ``msg['Content-Type'].params['charset']``)." +"attr:`~email.headerregistry.ParameterizedMIMEHeader.params` attribute of the " +"header value (for example, ``msg['Content-Type'].params['charset']``)." msgstr "" #: ../../library/email.message.rst:384 @@ -753,8 +753,8 @@ msgstr "" #: ../../library/email.message.rst:694 msgid "" -"Remove the payload and all of the :exc:`Content-` headers, leaving all other " -"headers intact and in their original order." +"Remove the payload and all of the :mailheader:`!Content-` headers, leaving " +"all other headers intact and in their original order." msgstr "" #: ../../library/email.message.rst:698 diff --git a/library/email.parser.po b/library/email.parser.po index dd5e9f4957..650d9e6f41 100644 --- a/library/email.parser.po +++ b/library/email.parser.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2020-06-20 18:08+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:01+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -69,9 +69,10 @@ msgid "" "Note that the parser can be extended in limited ways, and of course you can " "implement your own parser completely from scratch. All of the logic that " "connects the :mod:`email` package's bundled parser and the :class:`~email." -"message.EmailMessage` class is embodied in the :mod:`policy` class, so a " -"custom parser can create message object trees any way it finds necessary by " -"implementing custom versions of the appropriate :mod:`policy` methods." +"message.EmailMessage` class is embodied in the :class:`~email.policy.Policy` " +"class, so a custom parser can create message object trees any way it finds " +"necessary by implementing custom versions of the appropriate :class:`!" +"Policy` methods." msgstr "" #: ../../library/email.parser.rst:49 diff --git a/library/filecmp.po b/library/filecmp.po index 3c06eb4bb2..28798a01b1 100644 --- a/library/filecmp.po +++ b/library/filecmp.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2015-12-09 17:51+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -151,9 +151,9 @@ msgstr "" #: ../../library/filecmp.rst:103 msgid "" -"Note that via :meth:`__getattr__` hooks, all attributes are computed lazily, " -"so there is no speed penalty if only those attributes which are lightweight " -"to compute are used." +"Note that via :meth:`~object.__getattr__` hooks, all attributes are computed " +"lazily, so there is no speed penalty if only those attributes which are " +"lightweight to compute are used." msgstr "" #: ../../library/filecmp.rst:110 diff --git a/library/fileinput.po b/library/fileinput.po index f0d0ce2e16..48a409e037 100644 --- a/library/fileinput.po +++ b/library/fileinput.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:01+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -231,7 +231,7 @@ msgstr "" #: ../../library/fileinput.rst:179 msgid "" -"The ``'rU'`` and ``'U'`` modes and the :meth:`__getitem__` method have been " +"The ``'rU'`` and ``'U'`` modes and the :meth:`!__getitem__` method have been " "removed." msgstr "" diff --git a/library/graphlib.po b/library/graphlib.po index 6684be3507..e18c1ab706 100644 --- a/library/graphlib.po +++ b/library/graphlib.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-15 00:17+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2023-01-04 16:35+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -33,8 +33,8 @@ msgid "" "Provides functionality to topologically sort a graph of :term:`hashable` " "nodes." msgstr "" -"提供對包含\\ :term:`可雜湊 (hashable) ` 節點之圖 (graph) 進行拓撲排序 (topologically " -"sort) 的功能。" +"提供對包含\\ :term:`可雜湊 (hashable) ` 節點之圖 (graph) 進行拓撲排" +"序 (topologically sort) 的功能。" #: ../../library/graphlib.rst:22 msgid "" @@ -120,8 +120,8 @@ msgid "" "Add a new node and its predecessors to the graph. Both the *node* and all " "elements in *predecessors* must be :term:`hashable`." msgstr "" -"向圖中新增新節點及其前驅節點。*node* 和 *predecessors* 中的所有元素都必須是\\ :term:`可雜湊 `\\ " -"的。" +"向圖中新增新節點及其前驅節點。*node* 和 *predecessors* 中的所有元素都必須是" +"\\ :term:`可雜湊 `\\ 的。" #: ../../library/graphlib.rst:90 msgid "" @@ -178,10 +178,10 @@ msgstr "" #: ../../library/graphlib.rst:118 msgid "" -"The :meth:`~TopologicalSorter.__bool__` method of this class defers to this " -"function, so instead of::" +"The :meth:`~object.__bool__` method of this class defers to this function, " +"so instead of::" msgstr "" -"此類別的 :meth:`~TopologicalSorter.__bool__` 方法遵循此函式,因此以下做法:\n" +"此類別的 :meth:`~object.__bool__` 方法遵循此函式,因此以下做法:\n" "\n" "::" @@ -285,18 +285,18 @@ msgid "" "undefined choice among them will be reported and included in the exception." msgstr "" ":exc:`ValueError` 的子類別,如果作用的圖中存在循環則由 :meth:" -"`TopologicalSorter.prepare` 引發。如果存在多個循環,則只會報告未定義的其中一個" -"並包含在例外中。" +"`TopologicalSorter.prepare` 引發。如果存在多個循環,則只會報告未定義的其中一" +"個並包含在例外中。" #: ../../library/graphlib.rst:207 msgid "" "The detected cycle can be accessed via the second element in the :attr:" -"`~CycleError.args` attribute of the exception instance and consists in a " +"`~BaseException.args` attribute of the exception instance and consists in a " "list of nodes, such that each node is, in the graph, an immediate " "predecessor of the next node in the list. In the reported list, the first " "and the last node will be the same, to make it clear that it is cyclic." msgstr "" -"檢測到的循環可以通過例外實例的 :attr:`~CycleError.args` 屬性中第二個元素來存" -"取,其為一個節點列表,每個節點在圖中都是列表中下一個節點的直接前驅節點" +"檢測到的循環可以通過例外實例的 :attr:`~BaseException.args` 屬性中第二個元素來" +"存取,其為一個節點列表,每個節點在圖中都是列表中下一個節點的直接前驅節點" "(immediate predecessor,即父節點)。在報告列表中,第一個和最後一個節點將會是" "相同的,用以明確表示它是循環的。" diff --git a/library/gzip.po b/library/gzip.po index 80a6709760..21cfdbb063 100644 --- a/library/gzip.po +++ b/library/gzip.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:03+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -119,9 +119,9 @@ msgstr "" #: ../../library/gzip.rst:72 msgid "" "Constructor for the :class:`GzipFile` class, which simulates most of the " -"methods of a :term:`file object`, with the exception of the :meth:`truncate` " -"method. At least one of *fileobj* and *filename* must be given a non-" -"trivial value." +"methods of a :term:`file object`, with the exception of the :meth:`~io." +"IOBase.truncate` method. At least one of *fileobj* and *filename* must be " +"given a non-trivial value." msgstr "" #: ../../library/gzip.rst:77 @@ -186,8 +186,8 @@ msgstr "" #: ../../library/gzip.rst:114 msgid "" ":class:`GzipFile` supports the :class:`io.BufferedIOBase` interface, " -"including iteration and the :keyword:`with` statement. Only the :meth:" -"`truncate` method isn't implemented." +"including iteration and the :keyword:`with` statement. Only the :meth:`~io." +"IOBase.truncate` method isn't implemented." msgstr "" #: ../../library/gzip.rst:118 diff --git a/library/hashlib.po b/library/hashlib.po index a9c43d8919..abe15bdefd 100644 --- a/library/hashlib.po +++ b/library/hashlib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:03+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -264,9 +264,9 @@ msgstr "" #: ../../library/hashlib.rst:247 msgid "" -"Return the digest of the data passed to the :meth:`update` method so far. " -"This is a bytes object of size *length* which may contain bytes in the whole " -"range from 0 to 255." +"Return the digest of the data passed to the :meth:`~hash.update` method so " +"far. This is a bytes object of size *length* which may contain bytes in the " +"whole range from 0 to 255." msgstr "" #: ../../library/hashlib.rst:254 @@ -615,9 +615,9 @@ msgstr "" msgid "" "To calculate hash of some data, you should first construct a hash object by " "calling the appropriate constructor function (:func:`blake2b` or :func:" -"`blake2s`), then update it with the data by calling :meth:`update` on the " -"object, and, finally, get the digest out of the object by calling :meth:" -"`digest` (or :meth:`hexdigest` for hex-encoded string)." +"`blake2s`), then update it with the data by calling :meth:`~hash.update` on " +"the object, and, finally, get the digest out of the object by calling :meth:" +"`~hash.digest` (or :meth:`~hash.hexdigest` for hex-encoded string)." msgstr "" #: ../../library/hashlib.rst:521 diff --git a/library/importlib.resources.abc.po b/library/importlib.resources.abc.po index 46767be528..c600f6586d 100644 --- a/library/importlib.resources.abc.po +++ b/library/importlib.resources.abc.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" "Last-Translator: FULL NAME \n" "Language-Team: LANGUAGE \n" @@ -177,11 +177,10 @@ msgstr "" #: ../../library/importlib.resources.abc.rst:146 msgid "" "An abstract base class for resource readers capable of serving the :meth:" -"`importlib.resources.files` interface. Subclasses :class:`importlib." -"resources.abc.ResourceReader` and provides concrete implementations of the :" -"class:`importlib.resources.abc.ResourceReader`'s abstract methods. " -"Therefore, any loader supplying :class:`importlib.abc.TraversableResources` " -"also supplies ResourceReader." +"`importlib.resources.files` interface. Subclasses :class:`ResourceReader` " +"and provides concrete implementations of the :class:`!ResourceReader`'s " +"abstract methods. Therefore, any loader supplying :class:`!" +"TraversableResources` also supplies :class:`!ResourceReader`." msgstr "" #: ../../library/importlib.resources.abc.rst:153 diff --git a/library/json.po b/library/json.po index 9871a67314..bca98e8f85 100644 --- a/library/json.po +++ b/library/json.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:04+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -186,8 +186,8 @@ msgstr "" #: ../../library/json.rst:194 msgid "" "To use a custom :class:`JSONEncoder` subclass (e.g. one that overrides the :" -"meth:`default` method to serialize additional types), specify it with the " -"*cls* kwarg; otherwise :class:`JSONEncoder` is used." +"meth:`~JSONEncoder.default` method to serialize additional types), specify " +"it with the *cls* kwarg; otherwise :class:`JSONEncoder` is used." msgstr "" #: ../../library/json.rst:198 ../../library/json.rst:277 @@ -493,9 +493,9 @@ msgstr "" #: ../../library/json.rst:424 msgid "" "To extend this to recognize other objects, subclass and implement a :meth:" -"`default` method with another method that returns a serializable object for " -"``o`` if possible, otherwise it should call the superclass implementation " -"(to raise :exc:`TypeError`)." +"`~JSONEncoder.default` method with another method that returns a " +"serializable object for ``o`` if possible, otherwise it should call the " +"superclass implementation (to raise :exc:`TypeError`)." msgstr "" #: ../../library/json.rst:429 @@ -538,7 +538,7 @@ msgstr "" #: ../../library/json.rst:485 msgid "" "For example, to support arbitrary iterators, you could implement :meth:" -"`default` like this::" +"`~JSONEncoder.default` like this::" msgstr "" #: ../../library/json.rst:501 diff --git a/library/logging.po b/library/logging.po index 56e808bc5e..8f4ec3c021 100644 --- a/library/logging.po +++ b/library/logging.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:05+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -512,50 +512,26 @@ msgstr "" msgid "Numeric value" msgstr "" -#: ../../library/logging.rst:403 -msgid "``CRITICAL``" -msgstr "``CRITICAL``" - #: ../../library/logging.rst:403 msgid "50" msgstr "50" -#: ../../library/logging.rst:405 -msgid "``ERROR``" -msgstr "``ERROR``" - #: ../../library/logging.rst:405 msgid "40" msgstr "40" -#: ../../library/logging.rst:407 -msgid "``WARNING``" -msgstr "``WARNING``" - #: ../../library/logging.rst:407 msgid "30" msgstr "30" -#: ../../library/logging.rst:409 -msgid "``INFO``" -msgstr "``INFO``" - #: ../../library/logging.rst:409 msgid "20" msgstr "20" -#: ../../library/logging.rst:411 -msgid "``DEBUG``" -msgstr "``DEBUG``" - #: ../../library/logging.rst:411 msgid "10" msgstr "10" -#: ../../library/logging.rst:413 -msgid "``NOTSET``" -msgstr "``NOTSET``" - #: ../../library/logging.rst:413 msgid "0" msgstr "0" diff --git a/library/lzma.po b/library/lzma.po index d860157624..aecb819a41 100644 --- a/library/lzma.po +++ b/library/lzma.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-31 08:13+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:05+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -68,10 +68,10 @@ msgstr "" #: ../../library/lzma.rst:46 msgid "" -"The *mode* argument can be any of ``\"r\"``, ``\"rb\"``, ``\"w\"``, ``\"wb" -"\"``, ``\"x\"``, ``\"xb\"``, ``\"a\"`` or ``\"ab\"`` for binary mode, or ``" -"\"rt\"``, ``\"wt\"``, ``\"xt\"``, or ``\"at\"`` for text mode. The default " -"is ``\"rb\"``." +"The *mode* argument can be any of ``\"r\"``, ``\"rb\"``, ``\"w\"``, " +"``\"wb\"``, ``\"x\"``, ``\"xb\"``, ``\"a\"`` or ``\"ab\"`` for binary mode, " +"or ``\"rt\"``, ``\"wt\"``, ``\"xt\"``, or ``\"at\"`` for text mode. The " +"default is ``\"rb\"``." msgstr "" #: ../../library/lzma.rst:50 ../../library/lzma.rst:95 @@ -105,7 +105,7 @@ msgstr "" msgid "Added support for the ``\"x\"``, ``\"xb\"`` and ``\"xt\"`` modes." msgstr "" -#: ../../library/lzma.rst:68 ../../library/lzma.rst:126 +#: ../../library/lzma.rst:68 ../../library/lzma.rst:127 msgid "Accepts a :term:`path-like object`." msgstr "" @@ -127,8 +127,8 @@ msgstr "" msgid "" "The *mode* argument can be either ``\"r\"`` for reading (default), ``\"w\"`` " "for overwriting, ``\"x\"`` for exclusive creation, or ``\"a\"`` for " -"appending. These can equivalently be given as ``\"rb\"``, ``\"wb\"``, ``\"xb" -"\"`` and ``\"ab\"`` respectively." +"appending. These can equivalently be given as ``\"rb\"``, ``\"wb\"``, " +"``\"xb\"`` and ``\"ab\"`` respectively." msgstr "" #: ../../library/lzma.rst:88 @@ -147,22 +147,22 @@ msgstr "" #: ../../library/lzma.rst:102 msgid "" ":class:`LZMAFile` supports all the members specified by :class:`io." -"BufferedIOBase`, except for :meth:`detach` and :meth:`truncate`. Iteration " -"and the :keyword:`with` statement are supported." +"BufferedIOBase`, except for :meth:`~io.BufferedIOBase.detach` and :meth:`~io." +"IOBase.truncate`. Iteration and the :keyword:`with` statement are supported." msgstr "" -#: ../../library/lzma.rst:106 +#: ../../library/lzma.rst:107 msgid "The following method is also provided:" msgstr "" -#: ../../library/lzma.rst:110 +#: ../../library/lzma.rst:111 msgid "" "Return buffered data without advancing the file position. At least one byte " "of data will be returned, unless EOF has been reached. The exact number of " "bytes returned is unspecified (the *size* argument is ignored)." msgstr "" -#: ../../library/lzma.rst:114 +#: ../../library/lzma.rst:115 msgid "" "While calling :meth:`peek` does not change the file position of the :class:" "`LZMAFile`, it may change the position of the underlying file object (e.g. " @@ -170,60 +170,60 @@ msgid "" "*filename*)." msgstr "" -#: ../../library/lzma.rst:119 +#: ../../library/lzma.rst:120 msgid "Added support for the ``\"x\"`` and ``\"xb\"`` modes." msgstr "" -#: ../../library/lzma.rst:122 +#: ../../library/lzma.rst:123 msgid "" "The :meth:`~io.BufferedIOBase.read` method now accepts an argument of " "``None``." msgstr "" -#: ../../library/lzma.rst:131 +#: ../../library/lzma.rst:132 msgid "Compressing and decompressing data in memory" msgstr "" -#: ../../library/lzma.rst:135 +#: ../../library/lzma.rst:136 msgid "" "Create a compressor object, which can be used to compress data incrementally." msgstr "" -#: ../../library/lzma.rst:137 +#: ../../library/lzma.rst:138 msgid "" "For a more convenient way of compressing a single chunk of data, see :func:" "`compress`." msgstr "" -#: ../../library/lzma.rst:140 +#: ../../library/lzma.rst:141 msgid "" "The *format* argument specifies what container format should be used. " "Possible values are:" msgstr "" -#: ../../library/lzma.rst:144 +#: ../../library/lzma.rst:145 msgid ":const:`FORMAT_XZ`: The ``.xz`` container format." msgstr "" -#: ../../library/lzma.rst:144 +#: ../../library/lzma.rst:145 msgid "This is the default format." msgstr "" -#: ../../library/lzma.rst:148 +#: ../../library/lzma.rst:149 msgid ":const:`FORMAT_ALONE`: The legacy ``.lzma`` container format." msgstr "" -#: ../../library/lzma.rst:147 +#: ../../library/lzma.rst:148 msgid "" "This format is more limited than ``.xz`` -- it does not support integrity " "checks or multiple filters." msgstr "" -#: ../../library/lzma.rst:154 +#: ../../library/lzma.rst:155 msgid ":const:`FORMAT_RAW`: A raw data stream, not using any container format." msgstr "" -#: ../../library/lzma.rst:151 +#: ../../library/lzma.rst:152 msgid "" "This format specifier does not support integrity checks, and requires that " "you always specify a custom filter chain (for both compression and " @@ -231,46 +231,46 @@ msgid "" "decompressed using :const:`FORMAT_AUTO` (see :class:`LZMADecompressor`)." msgstr "" -#: ../../library/lzma.rst:156 +#: ../../library/lzma.rst:157 msgid "" "The *check* argument specifies the type of integrity check to include in the " "compressed data. This check is used when decompressing, to ensure that the " "data has not been corrupted. Possible values are:" msgstr "" -#: ../../library/lzma.rst:160 +#: ../../library/lzma.rst:161 msgid "" ":const:`CHECK_NONE`: No integrity check. This is the default (and the only " "acceptable value) for :const:`FORMAT_ALONE` and :const:`FORMAT_RAW`." msgstr "" -#: ../../library/lzma.rst:164 +#: ../../library/lzma.rst:165 msgid ":const:`CHECK_CRC32`: 32-bit Cyclic Redundancy Check." msgstr "" -#: ../../library/lzma.rst:166 +#: ../../library/lzma.rst:167 msgid "" ":const:`CHECK_CRC64`: 64-bit Cyclic Redundancy Check. This is the default " "for :const:`FORMAT_XZ`." msgstr "" -#: ../../library/lzma.rst:169 +#: ../../library/lzma.rst:170 msgid ":const:`CHECK_SHA256`: 256-bit Secure Hash Algorithm." msgstr "" -#: ../../library/lzma.rst:171 +#: ../../library/lzma.rst:172 msgid "" "If the specified check is not supported, an :class:`LZMAError` is raised." msgstr "" -#: ../../library/lzma.rst:173 +#: ../../library/lzma.rst:174 msgid "" "The compression settings can be specified either as a preset compression " "level (with the *preset* argument), or in detail as a custom filter chain " "(with the *filters* argument)." msgstr "" -#: ../../library/lzma.rst:177 +#: ../../library/lzma.rst:178 msgid "" "The *preset* argument (if provided) should be an integer between ``0`` and " "``9`` (inclusive), optionally OR-ed with the constant :const:" @@ -279,7 +279,7 @@ msgid "" "presets produce smaller output, but make the compression process slower." msgstr "" -#: ../../library/lzma.rst:186 +#: ../../library/lzma.rst:187 msgid "" "In addition to being more CPU-intensive, compression with higher presets " "also requires much more memory (and produces output that needs more memory " @@ -288,13 +288,13 @@ msgid "" "generally best to stick with the default preset." msgstr "" -#: ../../library/lzma.rst:192 +#: ../../library/lzma.rst:193 msgid "" "The *filters* argument (if provided) should be a filter chain specifier. " "See :ref:`filter-chain-specs` for details." msgstr "" -#: ../../library/lzma.rst:197 +#: ../../library/lzma.rst:198 msgid "" "Compress *data* (a :class:`bytes` object), returning a :class:`bytes` object " "containing compressed data for at least part of the input. Some of *data* " @@ -303,29 +303,29 @@ msgid "" "any previous calls to :meth:`compress`." msgstr "" -#: ../../library/lzma.rst:205 +#: ../../library/lzma.rst:206 msgid "" "Finish the compression process, returning a :class:`bytes` object containing " "any data stored in the compressor's internal buffers." msgstr "" -#: ../../library/lzma.rst:208 +#: ../../library/lzma.rst:209 msgid "The compressor cannot be used after this method has been called." msgstr "" -#: ../../library/lzma.rst:213 +#: ../../library/lzma.rst:214 msgid "" "Create a decompressor object, which can be used to decompress data " "incrementally." msgstr "" -#: ../../library/lzma.rst:216 +#: ../../library/lzma.rst:217 msgid "" "For a more convenient way of decompressing an entire compressed stream at " "once, see :func:`decompress`." msgstr "" -#: ../../library/lzma.rst:219 +#: ../../library/lzma.rst:220 msgid "" "The *format* argument specifies the container format that should be used. " "The default is :const:`FORMAT_AUTO`, which can decompress both ``.xz`` and " @@ -333,7 +333,7 @@ msgid "" "`FORMAT_ALONE`, and :const:`FORMAT_RAW`." msgstr "" -#: ../../library/lzma.rst:224 +#: ../../library/lzma.rst:225 msgid "" "The *memlimit* argument specifies a limit (in bytes) on the amount of memory " "that the decompressor can use. When this argument is used, decompression " @@ -341,7 +341,7 @@ msgid "" "input within the given memory limit." msgstr "" -#: ../../library/lzma.rst:229 +#: ../../library/lzma.rst:230 msgid "" "The *filters* argument specifies the filter chain that was used to create " "the stream being decompressed. This argument is required if *format* is :" @@ -349,7 +349,7 @@ msgid "" "`filter-chain-specs` for more information about filter chains." msgstr "" -#: ../../library/lzma.rst:235 +#: ../../library/lzma.rst:236 msgid "" "This class does not transparently handle inputs containing multiple " "compressed streams, unlike :func:`decompress` and :class:`LZMAFile`. To " @@ -357,7 +357,7 @@ msgid "" "create a new decompressor for each stream." msgstr "" -#: ../../library/lzma.rst:242 +#: ../../library/lzma.rst:243 msgid "" "Decompress *data* (a :term:`bytes-like object`), returning uncompressed data " "as bytes. Some of *data* may be buffered internally, for use in later calls " @@ -365,7 +365,7 @@ msgid "" "output of any previous calls to :meth:`decompress`." msgstr "" -#: ../../library/lzma.rst:248 +#: ../../library/lzma.rst:249 msgid "" "If *max_length* is nonnegative, returns at most *max_length* bytes of " "decompressed data. If this limit is reached and further output can be " @@ -374,100 +374,100 @@ msgid "" "``b''`` to obtain more of the output." msgstr "" -#: ../../library/lzma.rst:255 +#: ../../library/lzma.rst:256 msgid "" "If all of the input data was decompressed and returned (either because this " "was less than *max_length* bytes, or because *max_length* was negative), " "the :attr:`~.needs_input` attribute will be set to ``True``." msgstr "" -#: ../../library/lzma.rst:260 +#: ../../library/lzma.rst:261 msgid "" "Attempting to decompress data after the end of stream is reached raises an :" "exc:`EOFError`. Any data found after the end of the stream is ignored and " "saved in the :attr:`~.unused_data` attribute." msgstr "" -#: ../../library/lzma.rst:264 +#: ../../library/lzma.rst:265 msgid "Added the *max_length* parameter." msgstr "新增 *max_length* 參數。" -#: ../../library/lzma.rst:269 +#: ../../library/lzma.rst:270 msgid "" "The ID of the integrity check used by the input stream. This may be :const:" "`CHECK_UNKNOWN` until enough of the input has been decoded to determine what " "integrity check it uses." msgstr "" -#: ../../library/lzma.rst:275 +#: ../../library/lzma.rst:276 msgid "``True`` if the end-of-stream marker has been reached." msgstr "" -#: ../../library/lzma.rst:279 +#: ../../library/lzma.rst:280 msgid "Data found after the end of the compressed stream." msgstr "" -#: ../../library/lzma.rst:281 +#: ../../library/lzma.rst:282 msgid "Before the end of the stream is reached, this will be ``b\"\"``." msgstr "" -#: ../../library/lzma.rst:285 +#: ../../library/lzma.rst:286 msgid "" "``False`` if the :meth:`.decompress` method can provide more decompressed " "data before requiring new uncompressed input." msgstr "" -#: ../../library/lzma.rst:292 +#: ../../library/lzma.rst:293 msgid "" "Compress *data* (a :class:`bytes` object), returning the compressed data as " "a :class:`bytes` object." msgstr "" -#: ../../library/lzma.rst:295 +#: ../../library/lzma.rst:296 msgid "" "See :class:`LZMACompressor` above for a description of the *format*, " "*check*, *preset* and *filters* arguments." msgstr "" -#: ../../library/lzma.rst:301 +#: ../../library/lzma.rst:302 msgid "" "Decompress *data* (a :class:`bytes` object), returning the uncompressed data " "as a :class:`bytes` object." msgstr "" -#: ../../library/lzma.rst:304 +#: ../../library/lzma.rst:305 msgid "" "If *data* is the concatenation of multiple distinct compressed streams, " "decompress all of these streams, and return the concatenation of the results." msgstr "" -#: ../../library/lzma.rst:307 +#: ../../library/lzma.rst:308 msgid "" "See :class:`LZMADecompressor` above for a description of the *format*, " "*memlimit* and *filters* arguments." msgstr "" -#: ../../library/lzma.rst:312 +#: ../../library/lzma.rst:313 msgid "Miscellaneous" msgstr "" -#: ../../library/lzma.rst:316 +#: ../../library/lzma.rst:317 msgid "" "Return ``True`` if the given integrity check is supported on this system." msgstr "" -#: ../../library/lzma.rst:318 +#: ../../library/lzma.rst:319 msgid "" ":const:`CHECK_NONE` and :const:`CHECK_CRC32` are always supported. :const:" "`CHECK_CRC64` and :const:`CHECK_SHA256` may be unavailable if you are using " "a version of :program:`liblzma` that was compiled with a limited feature set." msgstr "" -#: ../../library/lzma.rst:327 +#: ../../library/lzma.rst:328 msgid "Specifying custom filter chains" msgstr "" -#: ../../library/lzma.rst:329 +#: ../../library/lzma.rst:330 msgid "" "A filter chain specifier is a sequence of dictionaries, where each " "dictionary contains the ID and options for a single filter. Each dictionary " @@ -475,118 +475,118 @@ msgid "" "filter-dependent options. Valid filter IDs are as follows:" msgstr "" -#: ../../library/lzma.rst:336 +#: ../../library/lzma.rst:337 msgid "Compression filters:" msgstr "" -#: ../../library/lzma.rst:335 +#: ../../library/lzma.rst:336 msgid ":const:`FILTER_LZMA1` (for use with :const:`FORMAT_ALONE`)" msgstr "" -#: ../../library/lzma.rst:336 +#: ../../library/lzma.rst:337 msgid "" ":const:`FILTER_LZMA2` (for use with :const:`FORMAT_XZ` and :const:" "`FORMAT_RAW`)" msgstr "" -#: ../../library/lzma.rst:339 +#: ../../library/lzma.rst:340 msgid "Delta filter:" msgstr "" -#: ../../library/lzma.rst:339 +#: ../../library/lzma.rst:340 msgid ":const:`FILTER_DELTA`" msgstr ":const:`FILTER_DELTA`" -#: ../../library/lzma.rst:347 +#: ../../library/lzma.rst:348 msgid "Branch-Call-Jump (BCJ) filters:" msgstr "" -#: ../../library/lzma.rst:342 +#: ../../library/lzma.rst:343 msgid ":const:`FILTER_X86`" msgstr ":const:`FILTER_X86`" -#: ../../library/lzma.rst:343 +#: ../../library/lzma.rst:344 msgid ":const:`FILTER_IA64`" msgstr ":const:`FILTER_IA64`" -#: ../../library/lzma.rst:344 +#: ../../library/lzma.rst:345 msgid ":const:`FILTER_ARM`" msgstr ":const:`FILTER_ARM`" -#: ../../library/lzma.rst:345 +#: ../../library/lzma.rst:346 msgid ":const:`FILTER_ARMTHUMB`" msgstr ":const:`FILTER_ARMTHUMB`" -#: ../../library/lzma.rst:346 +#: ../../library/lzma.rst:347 msgid ":const:`FILTER_POWERPC`" msgstr ":const:`FILTER_POWERPC`" -#: ../../library/lzma.rst:347 +#: ../../library/lzma.rst:348 msgid ":const:`FILTER_SPARC`" msgstr ":const:`FILTER_SPARC`" -#: ../../library/lzma.rst:349 +#: ../../library/lzma.rst:350 msgid "" "A filter chain can consist of up to 4 filters, and cannot be empty. The last " "filter in the chain must be a compression filter, and any other filters must " "be delta or BCJ filters." msgstr "" -#: ../../library/lzma.rst:353 +#: ../../library/lzma.rst:354 msgid "" "Compression filters support the following options (specified as additional " "entries in the dictionary representing the filter):" msgstr "" -#: ../../library/lzma.rst:356 +#: ../../library/lzma.rst:357 msgid "" "``preset``: A compression preset to use as a source of default values for " "options that are not specified explicitly." msgstr "" -#: ../../library/lzma.rst:358 +#: ../../library/lzma.rst:359 msgid "" "``dict_size``: Dictionary size in bytes. This should be between 4 KiB and " "1.5 GiB (inclusive)." msgstr "" -#: ../../library/lzma.rst:360 +#: ../../library/lzma.rst:361 msgid "``lc``: Number of literal context bits." msgstr "" -#: ../../library/lzma.rst:361 +#: ../../library/lzma.rst:362 msgid "" "``lp``: Number of literal position bits. The sum ``lc + lp`` must be at most " "4." msgstr "" -#: ../../library/lzma.rst:363 +#: ../../library/lzma.rst:364 msgid "``pb``: Number of position bits; must be at most 4." msgstr "" -#: ../../library/lzma.rst:364 +#: ../../library/lzma.rst:365 msgid "``mode``: :const:`MODE_FAST` or :const:`MODE_NORMAL`." msgstr "" -#: ../../library/lzma.rst:365 +#: ../../library/lzma.rst:366 msgid "" "``nice_len``: What should be considered a \"nice length\" for a match. This " "should be 273 or less." msgstr "" -#: ../../library/lzma.rst:367 +#: ../../library/lzma.rst:368 msgid "" "``mf``: What match finder to use -- :const:`MF_HC3`, :const:`MF_HC4`, :const:" "`MF_BT2`, :const:`MF_BT3`, or :const:`MF_BT4`." msgstr "" -#: ../../library/lzma.rst:369 +#: ../../library/lzma.rst:370 msgid "" "``depth``: Maximum search depth used by match finder. 0 (default) means to " "select automatically based on other filter options." msgstr "" -#: ../../library/lzma.rst:372 +#: ../../library/lzma.rst:373 msgid "" "The delta filter stores the differences between bytes, producing more " "repetitive input for the compressor in certain circumstances. It supports " @@ -595,7 +595,7 @@ msgid "" "bytes." msgstr "" -#: ../../library/lzma.rst:377 +#: ../../library/lzma.rst:378 msgid "" "The BCJ filters are intended to be applied to machine code. They convert " "relative branches, calls and jumps in the code to use absolute addressing, " @@ -605,30 +605,30 @@ msgid "" "data. The default is 0." msgstr "" -#: ../../library/lzma.rst:385 +#: ../../library/lzma.rst:386 msgid "Examples" msgstr "範例" -#: ../../library/lzma.rst:387 +#: ../../library/lzma.rst:388 msgid "Reading in a compressed file::" msgstr "" -#: ../../library/lzma.rst:393 +#: ../../library/lzma.rst:394 msgid "Creating a compressed file::" msgstr "" -#: ../../library/lzma.rst:400 +#: ../../library/lzma.rst:401 msgid "Compressing data in memory::" msgstr "" -#: ../../library/lzma.rst:406 +#: ../../library/lzma.rst:407 msgid "Incremental compression::" msgstr "" -#: ../../library/lzma.rst:417 +#: ../../library/lzma.rst:418 msgid "Writing compressed data to an already-open file::" msgstr "" -#: ../../library/lzma.rst:426 +#: ../../library/lzma.rst:427 msgid "Creating a compressed file using a custom filter chain::" msgstr "" diff --git a/library/msvcrt.po b/library/msvcrt.po index 6c0112468c..570c0ff35c 100644 --- a/library/msvcrt.po +++ b/library/msvcrt.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-24 00:16+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:06+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -59,7 +59,7 @@ msgid "" "Lock part of a file based on file descriptor *fd* from the C runtime. " "Raises :exc:`OSError` on failure. The locked region of the file extends " "from the current file position for *nbytes* bytes, and may continue beyond " -"the end of the file. *mode* must be one of the :const:`LK_\\*` constants " +"the end of the file. *mode* must be one of the :const:`!LK_\\*` constants " "listed below. Multiple regions in a file may be locked at the same time, but " "may not overlap. Adjacent regions are not merged; they must be unlocked " "individually." @@ -70,7 +70,8 @@ msgid "" "Raises an :ref:`auditing event ` ``msvcrt.locking`` with arguments " "``fd``, ``mode``, ``nbytes``." msgstr "" -"引發一個附帶引數 ``fd``、``mode``、``nbytes`` 的\\ :ref:`稽核事件 ` ``msvcrt.locking``。" +"引發一個附帶引數 ``fd``、``mode``、``nbytes`` 的\\ :ref:`稽核事件 " +"` ``msvcrt.locking``。" #: ../../library/msvcrt.rst:51 msgid "" @@ -109,7 +110,8 @@ msgid "" "Raises an :ref:`auditing event ` ``msvcrt.open_osfhandle`` with " "arguments ``handle``, ``flags``." msgstr "" -"引發一個附帶引數 ``arguments``、``handle``、``flags`` 的\\ :ref:`稽核事件 ` ``msvcrt.open_osfhandle``。" +"引發一個附帶引數 ``arguments``、``handle``、``flags`` 的\\ :ref:`稽核事件 " +"` ``msvcrt.open_osfhandle``。" #: ../../library/msvcrt.rst:87 msgid "" @@ -122,7 +124,8 @@ msgid "" "Raises an :ref:`auditing event ` ``msvcrt.get_osfhandle`` with " "argument ``fd``." msgstr "" -"引發一個附帶引數 ``fd`` 的\\ :ref:`稽核事件 ` ``msvcrt.get_osfhandle``。" +"引發一個附帶引數 ``fd`` 的\\ :ref:`稽核事件 ` ``msvcrt." +"get_osfhandle``。" #: ../../library/msvcrt.rst:96 msgid "Console I/O" diff --git a/library/netrc.po b/library/netrc.po index bc1a526daa..ca13ec8085 100644 --- a/library/netrc.po +++ b/library/netrc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-10-15 20:43+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:06+0000\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -90,23 +90,32 @@ msgstr "" msgid "" "Exception raised by the :class:`~netrc.netrc` class when syntactical errors " "are encountered in source text. Instances of this exception provide three " -"interesting attributes: :attr:`msg` is a textual explanation of the error, :" -"attr:`filename` is the name of the source file, and :attr:`lineno` gives the " -"line number on which the error was found." +"interesting attributes:" msgstr "" "當原始文本中遇到語法錯誤時,:class:`~netrc.netrc` 類別會引發例外。此例外的實" -"例提供了三個有趣的屬性::attr:`msg` 是該錯誤的文字解釋、:attr:`filename` 是原" -"始檔案的名稱、:attr:`lineno` 給出發現錯誤的列號。" +"例提供了三個有趣的屬性:" + +#: ../../library/netrc.rst:58 +msgid "Textual explanation of the error." +msgstr "錯誤的文字解釋。" #: ../../library/netrc.rst:62 +msgid "The name of the source file." +msgstr "原始檔案的名稱。" + +#: ../../library/netrc.rst:66 +msgid "The line number on which the error was found." +msgstr "發現錯誤的列號。" + +#: ../../library/netrc.rst:72 msgid "netrc Objects" msgstr "netrc 物件" -#: ../../library/netrc.rst:64 +#: ../../library/netrc.rst:74 msgid "A :class:`~netrc.netrc` instance has the following methods:" msgstr ":class:`~netrc.netrc` 實例具有以下方法:" -#: ../../library/netrc.rst:69 +#: ../../library/netrc.rst:79 msgid "" "Return a 3-tuple ``(login, account, password)`` of authenticators for " "*host*. If the netrc file did not contain an entry for the given host, " @@ -117,7 +126,7 @@ msgstr "" "netrc 檔案不包含給定主機的條目,則回傳與 'default' 條目關聯的 tuple。如果並無" "匹配主機且預設條目也不可用則回傳 ``None``。" -#: ../../library/netrc.rst:77 +#: ../../library/netrc.rst:87 msgid "" "Dump the class data as a string in the format of a netrc file. (This " "discards comments and may reorder the entries.)" @@ -125,11 +134,11 @@ msgstr "" "將類別資料傾印 (dump) 為 netrc 檔案格式的字串。(這會將註解移除,並可能會對條" "目重新排序。)" -#: ../../library/netrc.rst:80 +#: ../../library/netrc.rst:90 msgid "Instances of :class:`~netrc.netrc` have public instance variables:" msgstr ":class:`~netrc.netrc` 的實例具有公開實例變數:" -#: ../../library/netrc.rst:85 +#: ../../library/netrc.rst:95 msgid "" "Dictionary mapping host names to ``(login, account, password)`` tuples. The " "'default' entry, if any, is represented as a pseudo-host by that name." @@ -137,6 +146,6 @@ msgstr "" "將主機名稱對映到 ``(login, account, password)`` tuple 的字典。'default' 條目" "(如存在)表示為該名稱對應到的偽主機 (pseudo-host)。" -#: ../../library/netrc.rst:91 +#: ../../library/netrc.rst:101 msgid "Dictionary mapping macro names to string lists." msgstr "巨集 (macro) 名稱與字串 list(串列)的對映字典。" diff --git a/library/operator.po b/library/operator.po index 58a3a3506a..ed45990e29 100644 --- a/library/operator.po +++ b/library/operator.po @@ -9,7 +9,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-22 00:16+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2023-02-18 14:49+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -83,14 +83,14 @@ msgstr "" #: ../../library/operator.rst:61 msgid "" -"Return the outcome of :keyword:`not` *obj*. (Note that there is no :meth:" -"`__not__` method for object instances; only the interpreter core defines " -"this operation. The result is affected by the :meth:`__bool__` and :meth:" -"`__len__` methods.)" +"Return the outcome of :keyword:`not` *obj*. (Note that there is no :meth:`!" +"__not__` method for object instances; only the interpreter core defines this " +"operation. The result is affected by the :meth:`~object.__bool__` and :meth:" +"`~object.__len__` methods.)" msgstr "" -"回傳 :keyword:`not` *obj* 的結果。(請注意物件實例並沒有 :meth:`__not__` " -"method(方法);只有直譯器核心定義此操作。結果會受 :meth:`__bool__` 和 :meth:" -"`__len__` method 影響。)" +"回傳 :keyword:`not` *obj* 的結果。(請注意物件實例並沒有 :meth:`!__not__` " +"method(方法);只有直譯器核心定義此操作。結果會受 :meth:`~object.__bool__` 和 " +":meth:`~object.__len__` method 影響。)" #: ../../library/operator.rst:69 msgid "" diff --git a/library/poplib.po b/library/poplib.po index 845e4604cc..eccf559fde 100644 --- a/library/poplib.po +++ b/library/poplib.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:08+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -207,7 +207,7 @@ msgstr "" #: ../../library/poplib.rst:150 msgid "" "Send password, response includes message count and mailbox size. Note: the " -"mailbox on the server is locked until :meth:`~poplib.quit` is called." +"mailbox on the server is locked until :meth:`~POP3.quit` is called." msgstr "" #: ../../library/poplib.rst:156 diff --git a/library/pprint.po b/library/pprint.po index 68b748ec5b..6919c67e24 100644 --- a/library/pprint.po +++ b/library/pprint.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:08+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -69,9 +69,9 @@ msgstr "" #: ../../library/pprint.rst:47 msgid "" "*stream* (default ``sys.stdout``) is a :term:`file-like object` to which the " -"output will be written by calling its :meth:`write` method. If both *stream* " -"and ``sys.stdout`` are ``None``, then :meth:`~PrettyPrinter.pprint` silently " -"returns." +"output will be written by calling its :meth:`!write` method. If both " +"*stream* and ``sys.stdout`` are ``None``, then :meth:`~PrettyPrinter.pprint` " +"silently returns." msgstr "" #: ../../library/pprint.rst:52 diff --git a/library/pty.po b/library/pty.po index fc73817328..cbce70b540 100644 --- a/library/pty.po +++ b/library/pty.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-04-24 00:16+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2016-11-19 00:33+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -110,8 +110,8 @@ msgstr "" #: ../../library/pty.rst:74 msgid "" -":func:`waitstatus_to_exitcode` can be used to convert the exit status into " -"an exit code." +":func:`os.waitstatus_to_exitcode` can be used to convert the exit status " +"into an exit code." msgstr "" #: ../../library/pty.rst:77 diff --git a/library/sched.po b/library/sched.po index d8c0582ccb..a7a911510c 100644 --- a/library/sched.po +++ b/library/sched.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-09 00:15+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:09+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -116,9 +116,9 @@ msgstr "" #: ../../library/sched.rst:118 msgid "" -"Run all scheduled events. This method will wait (using the :func:" -"`delayfunc` function passed to the constructor) for the next event, then " -"execute it and so on until there are no more scheduled events." +"Run all scheduled events. This method will wait (using the *delayfunc* " +"function passed to the constructor) for the next event, then execute it and " +"so on until there are no more scheduled events." msgstr "" #: ../../library/sched.rst:122 diff --git a/library/selectors.po b/library/selectors.po index e3096b3df8..e94ab6b435 100644 --- a/library/selectors.po +++ b/library/selectors.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-02-13 00:17+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:09+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -104,18 +104,10 @@ msgstr "" msgid "Meaning" msgstr "" -#: ../../library/selectors.rst:63 -msgid ":const:`EVENT_READ`" -msgstr ":const:`EVENT_READ`" - #: ../../library/selectors.rst:63 msgid "Available for read" msgstr "" -#: ../../library/selectors.rst:65 -msgid ":const:`EVENT_WRITE`" -msgstr ":const:`EVENT_WRITE`" - #: ../../library/selectors.rst:65 msgid "Available for write" msgstr "" @@ -200,8 +192,8 @@ msgstr "" #: ../../library/selectors.rst:135 msgid "" -"This is equivalent to :meth:`BaseSelector.unregister(fileobj)` followed by :" -"meth:`BaseSelector.register(fileobj, events, data)`, except that it can be " +"This is equivalent to ``BaseSelector.unregister(fileobj)`` followed by " +"``BaseSelector.register(fileobj, events, data)``, except that it can be " "implemented more efficiently." msgstr "" diff --git a/library/shutil.po b/library/shutil.po index c59c68a04e..83786bf0f4 100644 --- a/library/shutil.po +++ b/library/shutil.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-23 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:10+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -481,10 +481,10 @@ msgid "" "If *copy_function* is given, it must be a callable that takes two arguments " "*src* and *dst*, and will be used to copy *src* to *dst* if :func:`os." "rename` cannot be used. If the source is a directory, :func:`copytree` is " -"called, passing it the :func:`copy_function`. The default *copy_function* " -"is :func:`copy2`. Using :func:`~shutil.copy` as the *copy_function* allows " -"the move to succeed when it is not possible to also copy the metadata, at " -"the expense of not copying any of the metadata." +"called, passing it the *copy_function*. The default *copy_function* is :func:" +"`copy2`. Using :func:`~shutil.copy` as the *copy_function* allows the move " +"to succeed when it is not possible to also copy the metadata, at the expense " +"of not copying any of the metadata." msgstr "" #: ../../library/shutil.rst:377 diff --git a/library/stat.po b/library/stat.po index 22592abc57..eba0de1a5e 100644 --- a/library/stat.po +++ b/library/stat.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2021-09-24 00:11+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2016-11-19 00:34+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -30,8 +30,8 @@ msgstr "**原始碼:**\\ :source:`Lib/stat.py`" msgid "" "The :mod:`stat` module defines constants and functions for interpreting the " "results of :func:`os.stat`, :func:`os.fstat` and :func:`os.lstat` (if they " -"exist). For complete details about the :c:func:`stat`, :c:func:`fstat` and :" -"c:func:`lstat` calls, consult the documentation for your system." +"exist). For complete details about the :c:func:`stat`, :c:func:`!fstat` " +"and :c:func:`!lstat` calls, consult the documentation for your system." msgstr "" #: ../../library/stat.rst:19 @@ -100,12 +100,12 @@ msgstr "" #: ../../library/stat.rst:91 msgid "" "Return the portion of the file's mode that describes the file type (used by " -"the :func:`S_IS\\*` functions above)." +"the :func:`!S_IS\\*` functions above)." msgstr "" #: ../../library/stat.rst:94 msgid "" -"Normally, you would use the :func:`os.path.is\\*` functions for testing the " +"Normally, you would use the :func:`!os.path.is\\*` functions for testing the " "type of a file; the functions here are useful when you are doing multiple " "tests of the same file and wish to avoid the overhead of the :c:func:`stat` " "system call for each test. These are also useful when checking for " diff --git a/library/sysconfig.po b/library/sysconfig.po index 41c53f130d..7dc03abf28 100644 --- a/library/sysconfig.po +++ b/library/sysconfig.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:12+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -102,7 +102,7 @@ msgstr "" #: ../../library/sysconfig.rst:72 msgid "" -"Every new component that is installed using :mod:`distutils` or a Distutils-" +"Every new component that is installed using :mod:`!distutils` or a Distutils-" "based system will follow the same scheme to copy its file in the right " "places." msgstr "" diff --git a/library/textwrap.po b/library/textwrap.po index 440dca0c47..30be1a125a 100644 --- a/library/textwrap.po +++ b/library/textwrap.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-09 00:15+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2015-12-09 17:51+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -75,7 +75,7 @@ msgid "" "First the whitespace in *text* is collapsed (all whitespace is replaced by " "single spaces). If the result fits in the *width*, it is returned. " "Otherwise, enough words are dropped from the end so that the remaining words " -"plus the :attr:`placeholder` fit within :attr:`width`::" +"plus the :attr:`.placeholder` fit within :attr:`.width`::" msgstr "" #: ../../library/textwrap.rst:72 @@ -189,7 +189,7 @@ msgstr "" #: ../../library/textwrap.rst:175 msgid "" "(default: ``True``) If true, then all tab characters in *text* will be " -"expanded to spaces using the :meth:`expandtabs` method of *text*." +"expanded to spaces using the :meth:`~str.expandtabs` method of *text*." msgstr "" #: ../../library/textwrap.rst:181 diff --git a/library/urllib.error.po b/library/urllib.error.po index bdc06e8e47..5f9fa4e6df 100644 --- a/library/urllib.error.po +++ b/library/urllib.error.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2022-06-11 15:34+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -100,8 +100,8 @@ msgid "" "The HTTP response headers for the HTTP request that caused the :exc:" "`HTTPError`. An alias for *hdrs* attribute." msgstr "" -"導致 :exc:`HTTPError` 的特定 HTTP 請求的 HTTP 回應 header。" -"為 *hdrs* 屬性的別名。" +"導致 :exc:`HTTPError` 的特定 HTTP 請求的 HTTP 回應 header。為 *hdrs* 屬性的別" +"名。" #: ../../library/urllib.error.rst:68 msgid "A file-like object where the HTTP error body can be read from." @@ -111,9 +111,11 @@ msgstr "" msgid "" "This exception is raised when the :func:`~urllib.request.urlretrieve` " "function detects that the amount of the downloaded data is less than the " -"expected amount (given by the *Content-Length* header). The :attr:`content` " -"attribute stores the downloaded (and supposedly truncated) data." +"expected amount (given by the *Content-Length* header)." msgstr "" "此例外會在 :func:`~urllib.request.urlretrieve` 函式檢查到已下載的資料量小於期" -"待的資料量(由 *Content-Length* header 給定)時被引發。:attr:`content` 屬性中" -"將存放已下載(可能已被截斷)的資料。" +"待的資料量(由 *Content-Length* header 給定)時被引發。" + +#: ../../library/urllib.error.rst:79 +msgid "The downloaded (and supposedly truncated) data." +msgstr "已下載(可能已被截斷)的資料。" diff --git a/library/winreg.po b/library/winreg.po index a993996228..986f102f99 100644 --- a/library/winreg.po +++ b/library/winreg.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-09 00:15+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:15+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -372,8 +372,8 @@ msgstr "" #: ../../library/winreg.rst:290 msgid "" -"A call to :func:`LoadKey` fails if the calling process does not have the :" -"const:`SE_RESTORE_PRIVILEGE` privilege. Note that privileges are different " +"A call to :func:`LoadKey` fails if the calling process does not have the :c:" +"data:`!SE_RESTORE_PRIVILEGE` privilege. Note that privileges are different " "from permissions -- see the `RegLoadKey documentation `__ for more details." msgstr "" @@ -527,7 +527,7 @@ msgstr "" msgid "" "If *key* represents a key on a remote computer, the path described by " "*file_name* is relative to the remote computer. The caller of this method " -"must possess the :const:`SeBackupPrivilege` security privilege. Note that " +"must possess the **SeBackupPrivilege** security privilege. Note that " "privileges are different than permissions -- see the `Conflicts Between User " "Rights and Permissions documentation `__ for more details." @@ -691,7 +691,7 @@ msgstr "常數" #: ../../library/winreg.rst:539 msgid "" -"The following constants are defined for use in many :mod:`_winreg` functions." +"The following constants are defined for use in many :mod:`winreg` functions." msgstr "" #: ../../library/winreg.rst:544 @@ -920,7 +920,8 @@ msgid "" msgstr "" #: ../../library/winreg.rst:748 -msgid "Handle objects provide semantics for :meth:`__bool__` -- thus ::" +msgid "" +"Handle objects provide semantics for :meth:`~object.__bool__` -- thus ::" msgstr "" #: ../../library/winreg.rst:753 diff --git a/library/winsound.po b/library/winsound.po index fe6ef8d133..c21f0b3bc6 100644 --- a/library/winsound.po +++ b/library/winsound.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-26 18:54+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:15+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -40,9 +40,9 @@ msgstr "" #: ../../library/winsound.rst:27 msgid "" -"Call the underlying :c:func:`PlaySound` function from the Platform API. The " -"*sound* parameter may be a filename, a system sound alias, audio data as a :" -"term:`bytes-like object`, or ``None``. Its interpretation depends on the " +"Call the underlying :c:func:`!PlaySound` function from the Platform API. " +"The *sound* parameter may be a filename, a system sound alias, audio data as " +"a :term:`bytes-like object`, or ``None``. Its interpretation depends on the " "value of *flags*, which can be a bitwise ORed combination of the constants " "described below. If the *sound* parameter is ``None``, any currently playing " "waveform sound is stopped. If the system indicates an error, :exc:" @@ -51,7 +51,7 @@ msgstr "" #: ../../library/winsound.rst:38 msgid "" -"Call the underlying :c:func:`MessageBeep` function from the Platform API. " +"Call the underlying :c:func:`!MessageBeep` function from the Platform API. " "This plays a sound as specified in the registry. The *type* argument " "specifies which sound to play; possible values are ``-1``, " "``MB_ICONASTERISK``, ``MB_ICONEXCLAMATION``, ``MB_ICONHAND``, " diff --git a/library/xml.po b/library/xml.po index d0e4a72d2d..4313c020b9 100644 --- a/library/xml.po +++ b/library/xml.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:16+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -184,7 +184,7 @@ msgstr "" #: ../../library/xml.rst:77 msgid "" ":mod:`xml.etree.ElementTree` doesn't expand external entities and raises a :" -"exc:`ParserError` when an entity occurs." +"exc:`~xml.etree.ElementTree.ParseError` when an entity occurs." msgstr "" #: ../../library/xml.rst:79 @@ -194,7 +194,7 @@ msgid "" msgstr "" #: ../../library/xml.rst:81 -msgid ":mod:`xmlrpclib` doesn't expand external entities and omits them." +msgid ":mod:`xmlrpc.client` doesn't expand external entities and omits them." msgstr "" #: ../../library/xml.rst:82 @@ -258,8 +258,8 @@ msgid "" msgstr "" #: ../../library/xml.rst:123 -msgid "The :mod:`defusedxml` Package" -msgstr ":mod:`defusedxml` 套件" +msgid "The :mod:`!defusedxml` Package" +msgstr ":mod:`!defusedxml` 套件" #: ../../library/xml.rst:125 msgid "" diff --git a/library/xml.sax.handler.po b/library/xml.sax.handler.po index 981c4990de..fdf66edef8 100644 --- a/library/xml.sax.handler.po +++ b/library/xml.sax.handler.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2022-05-21 17:35+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2016-11-19 00:36+0000\n" "Last-Translator: Liang-Bo Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -529,9 +529,9 @@ msgid "" "your :class:`~xml.sax.xmlreader.XMLReader`, the parser will call the methods " "in your object to report all warnings and errors. There are three levels of " "errors available: warnings, (possibly) recoverable errors, and unrecoverable " -"errors. All methods take a :exc:`SAXParseException` as the only parameter. " -"Errors and warnings may be converted to an exception by raising the passed-" -"in exception object." +"errors. All methods take a :exc:`~xml.sax.SAXParseException` as the only " +"parameter. Errors and warnings may be converted to an exception by raising " +"the passed-in exception object." msgstr "" #: ../../library/xml.sax.handler.rst:403 diff --git a/library/xml.sax.utils.po b/library/xml.sax.utils.po index a7df885514..8e0656a690 100644 --- a/library/xml.sax.utils.po +++ b/library/xml.sax.utils.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:16+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -115,6 +115,6 @@ msgid "" "fully resolved :class:`~xml.sax.xmlreader.InputSource` object ready for " "reading. The input source can be given as a string, a file-like object, or " "an :class:`~xml.sax.xmlreader.InputSource` object; parsers will use this " -"function to implement the polymorphic *source* argument to their :meth:" -"`parse` method." +"function to implement the polymorphic *source* argument to their :meth:`~xml." +"sax.xmlreader.XMLReader.parse` method." msgstr "" diff --git a/library/xmlrpc.po b/library/xmlrpc.po index e300ed1e96..e744806400 100644 --- a/library/xmlrpc.po +++ b/library/xmlrpc.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-26 18:54+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2022-02-16 01:58+0800\n" "Last-Translator: Matt Wang \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -20,8 +20,8 @@ msgstr "" "X-Generator: Poedit 3.0.1\n" #: ../../library/xmlrpc.rst:2 -msgid ":mod:`xmlrpc` --- XMLRPC server and client modules" -msgstr ":mod:`xmlrpc` --- XMLRPC 服務端與客戶端模組" +msgid ":mod:`!xmlrpc` --- XMLRPC server and client modules" +msgstr ":mod:`!xmlrpc` --- XMLRPC 伺服器與用戶模組" #: ../../library/xmlrpc.rst:4 msgid "" @@ -30,7 +30,7 @@ msgid "" "server (the server is named by a URI) and get back structured data." msgstr "" "XML-RPC 是一種遠端程序呼叫 (Remote Procedure Call) 方法,它使用通過 HTTP 傳輸" -"(transport)的 XML 來做傳遞。有了它,客戶端可以在遠端伺服器上呼叫帶有參數的" +"(transport)的 XML 來做傳遞。有了它,用戶端可以在遠端伺服器上呼叫帶有參數的" "方法(伺服器以 URI 命名)並獲取結構化的資料。" #: ../../library/xmlrpc.rst:8 @@ -38,7 +38,7 @@ msgid "" "``xmlrpc`` is a package that collects server and client modules implementing " "XML-RPC. The modules are:" msgstr "" -"``xmlrpc`` 是一個集合了 XML-RPC 伺服器與客戶端模組實作的套件。這些模組是:" +"``xmlrpc`` 是一個集合了 XML-RPC 伺服器與用戶端模組實作的套件。這些模組是:" #: ../../library/xmlrpc.rst:11 msgid ":mod:`xmlrpc.client`" diff --git a/reference/datamodel.po b/reference/datamodel.po index 2b6ac3d721..fea062ec1b 100644 --- a/reference/datamodel.po +++ b/reference/datamodel.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 00:04+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:17+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1907,9 +1907,9 @@ msgstr "" msgid "" "Called to implement truth value testing and the built-in operation " "``bool()``; should return ``False`` or ``True``. When this method is not " -"defined, :meth:`__len__` is called, if it is defined, and the object is " -"considered true if its result is nonzero. If a class defines neither :meth:" -"`__len__` nor :meth:`__bool__`, all its instances are considered true." +"defined, :meth:`~object.__len__` is called, if it is defined, and the object " +"is considered true if its result is nonzero. If a class defines neither :" +"meth:`!__len__` nor :meth:`!__bool__`, all its instances are considered true." msgstr "" #: ../../reference/datamodel.rst:1606 @@ -2965,8 +2965,8 @@ msgstr "" msgid "" "Called to implement the built-in function :func:`len`. Should return the " "length of the object, an integer ``>=`` 0. Also, an object that doesn't " -"define a :meth:`__bool__` method and whose :meth:`__len__` method returns " -"zero is considered to be false in a Boolean context." +"define a :meth:`~object.__bool__` method and whose :meth:`!__len__` method " +"returns zero is considered to be false in a Boolean context." msgstr "" #: ../../reference/datamodel.rst:2502 @@ -2975,7 +2975,7 @@ msgid "" "length is larger than :data:`!sys.maxsize` some features (such as :func:" "`len`) may raise :exc:`OverflowError`. To prevent raising :exc:`!" "OverflowError` by truth value testing, an object must define a :meth:" -"`__bool__` method." +"`~object.__bool__` method." msgstr "" #: ../../reference/datamodel.rst:2511 diff --git a/reference/expressions.po b/reference/expressions.po index 92c00d3ef6..287b606b1e 100644 --- a/reference/expressions.po +++ b/reference/expressions.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-03 07:57+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:17+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -1829,8 +1829,8 @@ msgid "" "``False``, ``None``, numeric zero of all types, and empty strings and " "containers (including strings, tuples, lists, dictionaries, sets and " "frozensets). All other values are interpreted as true. User-defined " -"objects can customize their truth value by providing a :meth:`__bool__` " -"method." +"objects can customize their truth value by providing a :meth:`~object." +"__bool__` method." msgstr "" #: ../../reference/expressions.rst:1724 diff --git a/reference/lexical_analysis.po b/reference/lexical_analysis.po index 53cd3fc8a7..a58e3375df 100644 --- a/reference/lexical_analysis.po +++ b/reference/lexical_analysis.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-24 00:03+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:17+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -986,10 +986,10 @@ msgstr "" #: ../../reference/lexical_analysis.rst:789 msgid "" "The result is then formatted using the :func:`format` protocol. The format " -"specifier is passed to the :meth:`__format__` method of the expression or " -"conversion result. An empty string is passed when the format specifier is " -"omitted. The formatted result is then included in the final value of the " -"whole string." +"specifier is passed to the :meth:`~object.__format__` method of the " +"expression or conversion result. An empty string is passed when the format " +"specifier is omitted. The formatted result is then included in the final " +"value of the whole string." msgstr "" #: ../../reference/lexical_analysis.rst:795 diff --git a/tutorial/errors.po b/tutorial/errors.po index 03f2b2aea4..9d343be225 100644 --- a/tutorial/errors.po +++ b/tutorial/errors.po @@ -10,7 +10,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-22 13:42+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2022-10-24 14:54+0800\n" "Last-Translator: Steven Hsu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -239,21 +239,21 @@ msgid "" "The *except clause* may specify a variable after the exception name. The " "variable is bound to the exception instance which typically has an ``args`` " "attribute that stores the arguments. For convenience, builtin exception " -"types define :meth:`__str__` to print all the arguments without explicitly " -"accessing ``.args``. ::" +"types define :meth:`~object.__str__` to print all the arguments without " +"explicitly accessing ``.args``. ::" msgstr "" "*except 子句*\\ 可以在例外名稱後面指定一個變數。這個變數被綁定到一個例外實例 " "(instance),其引數通常儲存在 ``args`` 屬性中。為了方便,內建例外型別定義了 :" -"meth:`__str__` 以印出所有引數而不需顯式地取用 ``.args``\\ :\n" +"meth:`~object.__str__` 以印出所有引數而不需顯式地取用 ``.args``\\ :\n" "\n" "::" #: ../../tutorial/errors.rst:177 msgid "" -"The exception's :meth:`__str__` output is printed as the last part " +"The exception's :meth:`~object.__str__` output is printed as the last part " "('detail') of the message for unhandled exceptions." msgstr "" -"例外的 :meth:`__str__` 輸出會被印在未處理例外訊息的最後一部分(「細節」)。" +"例外的 :meth:`~object.__str__` 輸出會被印在未處理例外訊息的最後一部分(「細節」)。" #: ../../tutorial/errors.rst:180 msgid "" diff --git a/tutorial/interactive.po b/tutorial/interactive.po index 2f9a5e9f43..7725c15ae5 100644 --- a/tutorial/interactive.po +++ b/tutorial/interactive.po @@ -8,7 +8,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2018-06-26 18:54+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2021-06-28 20:45+0800\n" "Last-Translator: Steven Hsu \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -50,8 +50,8 @@ msgid "" "expressions such as ``string.a``, it will evaluate the expression up to the " "final ``'.'`` and then suggest completions from the attributes of the " "resulting object. Note that this may execute application-defined code if an " -"object with a :meth:`__getattr__` method is part of the expression. The " -"default configuration also saves your history into a file named :file:`." +"object with a :meth:`~object.__getattr__` method is part of the expression. " +"The default configuration also saves your history into a file named :file:`." "python_history` in your user directory. The history will be available again " "during the next interactive interpreter session." msgstr "" @@ -60,10 +60,10 @@ msgstr "" "看 Python 的陳述式名稱、當前區域變數名稱和可用模組名稱。對於像是 ``string." "a`` 的點分隔運算式 (dotted expression),它會對最後一個 ``'.'`` 之前的運算式求" "值,然後根據求值結果物件的屬性,給予自動完成的建議。請注意,如果一個物件有 :" -"meth:`__getattr__` method(方法),同時又是該運算式的一部份,這樣可能會執行應" -"用程式自定義的程式碼。預設設定也會把你的指令歷史記錄儲存在你的使用者資料夾" -"內,一個名為 :file:`.python_history` 的檔案中。在下一次啟動互動式直譯器時,這" -"些歷史記錄依然可以被使用。" +"meth:`~object.__getattr__` method(方法),同時又是該運算式的一部份,這樣可能" +"會執行應用程式自定義的程式碼。預設設定也會把你的指令歷史記錄儲存在你的使用者" +"資料夾內,一個名為 :file:`.python_history` 的檔案中。在下一次啟動互動式直譯器" +"時,這些歷史記錄依然可以被使用。" #: ../../tutorial/interactive.rst:36 msgid "Alternatives to the Interactive Interpreter" diff --git a/whatsnew/2.0.po b/whatsnew/2.0.po index 2e56ee4081..32d093ef5d 100644 --- a/whatsnew/2.0.po +++ b/whatsnew/2.0.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:19+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -820,7 +820,7 @@ msgstr "" msgid "" "The earlier versions of these methods were more forgiving because they used " "an old function in Python's C interface to parse their arguments; 2.0 " -"modernizes them to use :func:`PyArg_ParseTuple`, the current argument " +"modernizes them to use :c:func:`PyArg_ParseTuple`, the current argument " "parsing function, which provides more helpful error messages and treats " "multi-argument calls as errors. If you absolutely must use 2.0 but can't " "fix your code, you can edit :file:`Objects/listobject.c` and define the " @@ -953,7 +953,7 @@ msgstr "" msgid "" "Vladimir Marangozov's long-awaited malloc restructuring was completed, to " "make it easy to have the Python interpreter use a custom allocator instead " -"of C's standard :func:`malloc`. For documentation, read the comments in :" +"of C's standard :c:func:`malloc`. For documentation, read the comments in :" "file:`Include/pymem.h` and :file:`Include/objimpl.h`. For the lengthy " "discussions during which the interface was hammered out, see the web " "archives of the 'patches' and 'python-dev' lists at python.org." @@ -996,8 +996,8 @@ msgstr "" #: ../../whatsnew/2.0.rst:796 msgid "" "Three new convenience functions intended for adding constants to a module's " -"dictionary at module initialization time were added: :func:" -"`PyModule_AddObject`, :func:`PyModule_AddIntConstant`, and :func:" +"dictionary at module initialization time were added: :c:func:" +"`PyModule_AddObject`, :c:func:`PyModule_AddIntConstant`, and :c:func:" "`PyModule_AddStringConstant`. Each of these functions takes a module " "object, a null-terminated C string containing the name to be added, and a " "third argument for the value to be assigned to the name. This third " @@ -1006,8 +1006,9 @@ msgstr "" #: ../../whatsnew/2.0.rst:804 msgid "" -"A wrapper API was added for Unix-style signal handlers. :func:`PyOS_getsig` " -"gets a signal handler and :func:`PyOS_setsig` will set a new handler." +"A wrapper API was added for Unix-style signal handlers. :c:func:" +"`PyOS_getsig` gets a signal handler and :c:func:`PyOS_setsig` will set a new " +"handler." msgstr "" #: ../../whatsnew/2.0.rst:811 diff --git a/whatsnew/2.1.po b/whatsnew/2.1.po index 3a5ecdb659..545181edf7 100644 --- a/whatsnew/2.1.po +++ b/whatsnew/2.1.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-05-03 00:17+0000\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:19+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -877,10 +877,10 @@ msgstr "" #: ../../whatsnew/2.1.rst:694 msgid "" "A specialized object allocator is now optionally available, that should be " -"faster than the system :func:`malloc` and have less memory overhead. The " -"allocator uses C's :func:`malloc` function to get large pools of memory, and " -"then fulfills smaller memory requests from these pools. It can be enabled " -"by providing the :option:`!--with-pymalloc` option to the :program:" +"faster than the system :c:func:`malloc` and have less memory overhead. The " +"allocator uses C's :c:func:`!malloc` function to get large pools of memory, " +"and then fulfills smaller memory requests from these pools. It can be " +"enabled by providing the :option:`!--with-pymalloc` option to the :program:" "`configure` script; see :file:`Objects/obmalloc.c` for the implementation " "details." msgstr "" @@ -890,15 +890,16 @@ msgid "" "Authors of C extension modules should test their code with the object " "allocator enabled, because some incorrect code may break, causing core dumps " "at runtime. There are a bunch of memory allocation functions in Python's C " -"API that have previously been just aliases for the C library's :func:" -"`malloc` and :func:`free`, meaning that if you accidentally called " +"API that have previously been just aliases for the C library's :c:func:" +"`malloc` and :c:func:`free`, meaning that if you accidentally called " "mismatched functions, the error wouldn't be noticeable. When the object " -"allocator is enabled, these functions aren't aliases of :func:`malloc` and :" -"func:`free` any more, and calling the wrong function to free memory will get " -"you a core dump. For example, if memory was allocated using :func:" -"`PyMem_New`, it has to be freed using :func:`PyMem_Del`, not :func:`free`. " -"A few modules included with Python fell afoul of this and had to be fixed; " -"doubtless there are more third-party modules that will have the same problem." +"allocator is enabled, these functions aren't aliases of :c:func:`!malloc` " +"and :c:func:`!free` any more, and calling the wrong function to free memory " +"will get you a core dump. For example, if memory was allocated using :c:" +"macro:`PyMem_New`, it has to be freed using :c:func:`PyMem_Del`, not :c:func:" +"`!free`. A few modules included with Python fell afoul of this and had to " +"be fixed; doubtless there are more third-party modules that will have the " +"same problem." msgstr "" #: ../../whatsnew/2.1.rst:714 @@ -911,8 +912,8 @@ msgid "" "complain about its lack of speed, and because it's often been used as a " "naïve benchmark. The :meth:`readline` method of file objects has therefore " "been rewritten to be much faster. The exact amount of the speedup will vary " -"from platform to platform depending on how slow the C library's :func:`getc` " -"was, but is around 66%, and potentially much faster on some particular " +"from platform to platform depending on how slow the C library's :c:func:`!" +"getc` was, but is around 66%, and potentially much faster on some particular " "operating systems. Tim Peters did much of the benchmarking and coding for " "this change, motivated by a discussion in comp.lang.python." msgstr "" @@ -981,7 +982,7 @@ msgstr "" #: ../../whatsnew/2.1.rst:772 msgid "" -"C extensions which import other modules have been changed to use :func:" +"C extensions which import other modules have been changed to use :c:func:" "`PyImport_ImportModule`, which means that they will use any import hooks " "that have been installed. This is also encouraged for third-party " "extensions that need to import some other module from C code." diff --git a/whatsnew/3.0.po b/whatsnew/3.0.po index 0fbf8703ca..fe738984c0 100644 --- a/whatsnew/3.0.po +++ b/whatsnew/3.0.po @@ -7,7 +7,7 @@ msgid "" msgstr "" "Project-Id-Version: Python 3.12\n" "Report-Msgid-Bugs-To: \n" -"POT-Creation-Date: 2023-07-17 17:39+0800\n" +"POT-Creation-Date: 2023-07-29 10:36+0000\n" "PO-Revision-Date: 2018-05-23 16:20+0000\n" "Last-Translator: Adrian Liaw \n" "Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-" @@ -206,7 +206,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:207 msgid "Integers" -msgstr "" +msgstr "整數" #: ../../whatsnew/3.0.rst:209 msgid "" @@ -493,7 +493,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:406 msgid "Changed Syntax" -msgstr "" +msgstr "語法變更" #: ../../whatsnew/3.0.rst:408 msgid "" @@ -554,7 +554,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:450 msgid "Removed Syntax" -msgstr "" +msgstr "已被移除的語法" #: ../../whatsnew/3.0.rst:452 msgid "" @@ -712,7 +712,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:551 msgid "Library Changes" -msgstr "" +msgstr "函式庫變更" #: ../../whatsnew/3.0.rst:553 msgid "" @@ -844,6 +844,8 @@ msgid "" ":mod:`dbm` (:mod:`anydbm`, :mod:`dbhash`, :mod:`dbm`, :mod:`dumbdbm`, :mod:" "`gdbm`, :mod:`whichdb`)." msgstr "" +":mod:`dbm` (:mod:`anydbm`、:mod:`dbhash`、:mod:`dbm`、:mod:`dumbdbm`、:mod:" +"`gdbm`、:mod:`whichdb`)。" #: ../../whatsnew/3.0.rst:609 msgid ":mod:`html` (:mod:`HTMLParser`, :mod:`htmlentitydefs`)." @@ -883,7 +885,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:629 msgid "Killed :mod:`sets`. Use the built-in :func:`set` class." -msgstr "" +msgstr "移除 :mod:`sets`。請使用內建的 :func:`set` 類別。" #: ../../whatsnew/3.0.rst:631 msgid "" @@ -1099,7 +1101,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:780 msgid "Removed support for :attr:`__members__` and :attr:`__methods__`." -msgstr "" +msgstr "移除對 :attr:`__members__` 和 :attr:`__methods__` 的支援。" #: ../../whatsnew/3.0.rst:782 msgid "" @@ -1113,8 +1115,8 @@ msgid "" msgstr "" #: ../../whatsnew/3.0.rst:792 -msgid ":meth:`__nonzero__` is now :meth:`__bool__`." -msgstr ":meth:`__nonzero__` 現在為 :meth:`__bool__`\\ 。" +msgid ":meth:`!__nonzero__` is now :meth:`~object.__bool__`." +msgstr ":meth:`!__nonzero__` 現在為 :meth:`~object.__bool__`。" #: ../../whatsnew/3.0.rst:795 msgid "Builtins" @@ -1259,7 +1261,7 @@ msgstr "" #: ../../whatsnew/3.0.rst:878 msgid "" "Removed :c:macro:`METH_OLDARGS` and :c:macro:`WITH_CYCLE_GC` from the C API." -msgstr "" +msgstr "移除 C API 中的 :c:macro:`METH_OLDARGS` 和 :c:macro:`WITH_CYCLE_GC`。" #: ../../whatsnew/3.0.rst:884 msgid "Performance"