Skip to content

Commit de91526

Browse files
sync with cpython 3d448061
1 parent ee1b3a4 commit de91526

File tree

11 files changed

+1172
-1195
lines changed

11 files changed

+1172
-1195
lines changed

howto/functional.po

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-07-04 00:16+0000\n"
10+
"POT-Creation-Date: 2025-11-30 00:16+0000\n"
1111
"PO-Revision-Date: 2018-05-23 14:36+0000\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -27,7 +27,8 @@ msgid "Author"
2727
msgstr "作者"
2828

2929
#: ../../howto/functional.rst:7
30-
msgid "A. M. Kuchling"
30+
#, fuzzy
31+
msgid "\\A. M. Kuchling"
3132
msgstr "A. M. Kuchling"
3233

3334
#: ../../howto/functional.rst:0

howto/urllib2.po

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ msgid ""
77
msgstr ""
88
"Project-Id-Version: Python 3.14\n"
99
"Report-Msgid-Bugs-To: \n"
10-
"POT-Creation-Date: 2025-06-27 07:36+0000\n"
10+
"POT-Creation-Date: 2025-11-30 00:16+0000\n"
1111
"PO-Revision-Date: 2022-06-27 09:36+0800\n"
1212
"Last-Translator: Adrian Liaw <[email protected]>\n"
1313
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -42,9 +42,10 @@ msgid ""
4242
msgstr "以下這些與 Python 有關的文章說不定能幫到你::"
4343

4444
#: ../../howto/urllib2.rst:18
45+
#, fuzzy
4546
msgid ""
4647
"`Basic Authentication <https://web.archive.org/web/20201215133350/http://www."
47-
"voidspace.org.uk/python/articles/authentication.shtml>`_"
48+
"voidspace.org.uk/python/articles/authentication.shtml>`__"
4849
msgstr ""
4950
"`Basic Authentication <https://web.archive.org/web/20201215133350/http://www."
5051
"voidspace.org.uk/python/articles/authentication.shtml>`_"
@@ -88,10 +89,10 @@ msgid ""
8889
"is supplementary to them."
8990
msgstr ""
9091
"一般情形下 *urlopen* 是非常容易使用的,但當你遇到錯誤或者較複雜的情況下,你可"
91-
"能需要對超文本協定 (HyperText Transfer Protocol) 有一定的了解。最完整且具參考價"
92-
"值的是 :rfc:`2616`,不過它是一份技術文件並不容易閱讀,以下的教學會提供足夠的 "
93-
"HTTP 知識來幫助你使用 *urllib*。這份教學並非要取代 :mod:`urllib.request` 這份"
94-
"文件,你還是會需要它。"
92+
"能需要對超文本協定 (HyperText Transfer Protocol) 有一定的了解。最完整且具參考"
93+
"價值的是 :rfc:`2616`,不過它是一份技術文件並不容易閱讀,以下的教學會提供足夠"
94+
"HTTP 知識來幫助你使用 *urllib*。這份教學並非要取代 :mod:`urllib.request` "
95+
"這份文件,你還是會需要它。"
9596

9697
#: ../../howto/urllib2.rst:44
9798
msgid "Fetching URLs"

library/argparse.po

Lines changed: 13 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-11-06 00:14+0000\n"
9+
"POT-Creation-Date: 2025-11-30 00:16+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:38+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1342,9 +1342,8 @@ msgstr ""
13421342
#: ../../library/argparse.rst:770
13431343
msgid ""
13441344
"``'store_true'`` and ``'store_false'`` - These are special cases of "
1345-
"``'store_const'`` used for storing the values ``True`` and ``False`` "
1346-
"respectively. In addition, they create default values of ``False`` and "
1347-
"``True`` respectively::"
1345+
"``'store_const'`` that respectively store the values ``True`` and ``False`` "
1346+
"with default values of ``False`` and ``True``::"
13481347
msgstr ""
13491348

13501349
#: ../../library/argparse.rst:775
@@ -1386,11 +1385,10 @@ msgstr ""
13861385

13871386
#: ../../library/argparse.rst:793
13881387
msgid ""
1389-
"``'append_const'`` - This stores a list, and appends the value specified by "
1390-
"the const_ keyword argument to the list; note that the const_ keyword "
1391-
"argument defaults to ``None``. The ``'append_const'`` action is typically "
1392-
"useful when multiple arguments need to store constants to the same list. For "
1393-
"example::"
1388+
"``'append_const'`` - This appends the value specified by the const_ keyword "
1389+
"argument to a list; note that the const_ keyword argument defaults to "
1390+
"``None``. The ``'append_const'`` action is typically useful when multiple "
1391+
"arguments need to store constants to the same list. For example::"
13941392
msgstr ""
13951393

13961394
#: ../../library/argparse.rst:799
@@ -1413,11 +1411,11 @@ msgstr ""
14131411

14141412
#: ../../library/argparse.rst:805
14151413
msgid ""
1416-
"``'extend'`` - This stores a list and appends each item from the multi-value "
1417-
"argument list to it. The ``'extend'`` action is typically used with the "
1418-
"nargs_ keyword argument value ``'+'`` or ``'*'``. Note that when nargs_ is "
1419-
"``None`` (the default) or ``'?'``, each character of the argument string "
1420-
"will be appended to the list. Example usage::"
1414+
"``'extend'`` - This appends each item from a multi-value argument to a list. "
1415+
"The ``'extend'`` action is typically used with the nargs_ keyword argument "
1416+
"value ``'+'`` or ``'*'``. Note that when nargs_ is ``None`` (the default) or "
1417+
"``'?'``, each character of the argument string will be appended to the list. "
1418+
"Example usage::"
14211419
msgstr ""
14221420

14231421
#: ../../library/argparse.rst:813
@@ -1438,7 +1436,7 @@ msgstr ""
14381436

14391437
#: ../../library/argparse.rst:820
14401438
msgid ""
1441-
"``'count'`` - This counts the number of times a keyword argument occurs. For "
1439+
"``'count'`` - This counts the number of times an argument occurs. For "
14421440
"example, this is useful for increasing verbosity levels::"
14431441
msgstr ""
14441442

library/decimal.po

Lines changed: 27 additions & 24 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ msgid ""
66
msgstr ""
77
"Project-Id-Version: Python 3.14\n"
88
"Report-Msgid-Bugs-To: \n"
9-
"POT-Creation-Date: 2025-11-19 00:14+0000\n"
9+
"POT-Creation-Date: 2025-11-30 00:16+0000\n"
1010
"PO-Revision-Date: 2018-05-23 14:43+0000\n"
1111
"Last-Translator: Adrian Liaw <[email protected]>\n"
1212
"Language-Team: Chinese - TAIWAN (https://github.com/python/python-docs-zh-"
@@ -1749,11 +1749,13 @@ msgstr "如果 *x* 是 qNaN 或 sNaN 則回傳 ``True``;否則回傳 ``False``
17491749
#: ../../library/decimal.rst:1334
17501750
msgid ""
17511751
"Returns ``True`` if *x* is a normal number; otherwise returns ``False``."
1752-
msgstr "如果 *x* 是正規數 (normal number) 則回傳 ``True``;否則回傳 ``False``。"
1752+
msgstr ""
1753+
"如果 *x* 是正規數 (normal number) 則回傳 ``True``;否則回傳 ``False``。"
17531754

17541755
#: ../../library/decimal.rst:1339
17551756
msgid "Returns ``True`` if *x* is a quiet NaN; otherwise returns ``False``."
1756-
msgstr "如果 *x* 是安靜型 NaN (quiet NaN) 則回傳 ``True``;否則回傳 ``False``。"
1757+
msgstr ""
1758+
"如果 *x* 是安靜型 NaN (quiet NaN) 則回傳 ``True``;否則回傳 ``False``。"
17571759

17581760
#: ../../library/decimal.rst:1344
17591761
msgid "Returns ``True`` if *x* is negative; otherwise returns ``False``."
@@ -1762,7 +1764,8 @@ msgstr "如果 *x* 是負數則回傳 ``True``;否則回傳 ``False``。"
17621764
#: ../../library/decimal.rst:1349
17631765
msgid ""
17641766
"Returns ``True`` if *x* is a signaling NaN; otherwise returns ``False``."
1765-
msgstr "如果 *x* 是訊號型 NaN (signaling NaN) 則回傳 ``True``;否則回傳 ``False``。"
1767+
msgstr ""
1768+
"如果 *x* 是訊號型 NaN (signaling NaN) 則回傳 ``True``;否則回傳 ``False``。"
17661769

17671770
#: ../../library/decimal.rst:1354
17681771
msgid "Returns ``True`` if *x* is subnormal; otherwise returns ``False``."
@@ -2635,37 +2638,37 @@ msgstr ""
26352638

26362639
#: ../../library/decimal.rst:2103
26372640
msgid ""
2638-
"Q. It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way "
2641+
"Q: It is cumbersome to type ``decimal.Decimal('1234.5')``. Is there a way "
26392642
"to minimize typing when using the interactive interpreter?"
26402643
msgstr ""
26412644

26422645
#: ../../library/decimal.rst:2106
2643-
msgid "A. Some users abbreviate the constructor to just a single letter:"
2646+
msgid "A: Some users abbreviate the constructor to just a single letter:"
26442647
msgstr ""
26452648

26462649
#: ../../library/decimal.rst:2112
26472650
msgid ""
2648-
"Q. In a fixed-point application with two decimal places, some inputs have "
2651+
"Q: In a fixed-point application with two decimal places, some inputs have "
26492652
"many places and need to be rounded. Others are not supposed to have excess "
26502653
"digits and need to be validated. What methods should be used?"
26512654
msgstr ""
26522655

26532656
#: ../../library/decimal.rst:2116
26542657
msgid ""
2655-
"A. The :meth:`~Decimal.quantize` method rounds to a fixed number of decimal "
2658+
"A: The :meth:`~Decimal.quantize` method rounds to a fixed number of decimal "
26562659
"places. If the :const:`Inexact` trap is set, it is also useful for "
26572660
"validation:"
26582661
msgstr ""
26592662

26602663
#: ../../library/decimal.rst:2134
26612664
msgid ""
2662-
"Q. Once I have valid two place inputs, how do I maintain that invariant "
2665+
"Q: Once I have valid two place inputs, how do I maintain that invariant "
26632666
"throughout an application?"
26642667
msgstr ""
26652668

26662669
#: ../../library/decimal.rst:2137
26672670
msgid ""
2668-
"A. Some operations like addition, subtraction, and multiplication by an "
2671+
"A: Some operations like addition, subtraction, and multiplication by an "
26692672
"integer will automatically preserve fixed point. Others operations, like "
26702673
"division and non-integer multiplication, will change the number of decimal "
26712674
"places and need to be followed-up with a :meth:`~Decimal.quantize` step:"
@@ -2679,25 +2682,25 @@ msgstr ""
26792682

26802683
#: ../../library/decimal.rst:2169
26812684
msgid ""
2682-
"Q. There are many ways to express the same value. The numbers ``200``, "
2685+
"Q: There are many ways to express the same value. The numbers ``200``, "
26832686
"``200.000``, ``2E2``, and ``.02E+4`` all have the same value at various "
26842687
"precisions. Is there a way to transform them to a single recognizable "
26852688
"canonical value?"
26862689
msgstr ""
26872690

26882691
#: ../../library/decimal.rst:2174
26892692
msgid ""
2690-
"A. The :meth:`~Decimal.normalize` method maps all equivalent values to a "
2693+
"A: The :meth:`~Decimal.normalize` method maps all equivalent values to a "
26912694
"single representative:"
26922695
msgstr ""
26932696

26942697
#: ../../library/decimal.rst:2181
2695-
msgid "Q. When does rounding occur in a computation?"
2698+
msgid "Q: When does rounding occur in a computation?"
26962699
msgstr ""
26972700

26982701
#: ../../library/decimal.rst:2183
26992702
msgid ""
2700-
"A. It occurs *after* the computation. The philosophy of the decimal "
2703+
"A: It occurs *after* the computation. The philosophy of the decimal "
27012704
"specification is that numbers are considered exact and are created "
27022705
"independent of the current context. They can even have greater precision "
27032706
"than current context. Computations process with those exact inputs and then "
@@ -2721,13 +2724,13 @@ msgstr ""
27212724

27222725
#: ../../library/decimal.rst:2201
27232726
msgid ""
2724-
"Q. Some decimal values always print with exponential notation. Is there a "
2727+
"Q: Some decimal values always print with exponential notation. Is there a "
27252728
"way to get a non-exponential representation?"
27262729
msgstr ""
27272730

27282731
#: ../../library/decimal.rst:2204
27292732
msgid ""
2730-
"A. For some values, exponential notation is the only way to express the "
2733+
"A: For some values, exponential notation is the only way to express the "
27312734
"number of significant places in the coefficient. For example, expressing "
27322735
"``5.0E+3`` as ``5000`` keeps the value constant but cannot show the "
27332736
"original's two-place significance."
@@ -2741,12 +2744,12 @@ msgid ""
27412744
msgstr ""
27422745

27432746
#: ../../library/decimal.rst:2219
2744-
msgid "Q. Is there a way to convert a regular float to a :class:`Decimal`?"
2747+
msgid "Q: Is there a way to convert a regular float to a :class:`Decimal`?"
27452748
msgstr ""
27462749

27472750
#: ../../library/decimal.rst:2221
27482751
msgid ""
2749-
"A. Yes, any binary floating-point number can be exactly expressed as a "
2752+
"A: Yes, any binary floating-point number can be exactly expressed as a "
27502753
"Decimal though an exact conversion may take more precision than intuition "
27512754
"would suggest:"
27522755
msgstr ""
@@ -2761,28 +2764,28 @@ msgstr ""
27612764

27622765
#: ../../library/decimal.rst:2230
27632766
msgid ""
2764-
"Q. Within a complex calculation, how can I make sure that I haven't gotten a "
2767+
"Q: Within a complex calculation, how can I make sure that I haven't gotten a "
27652768
"spurious result because of insufficient precision or rounding anomalies."
27662769
msgstr ""
27672770

27682771
#: ../../library/decimal.rst:2233
27692772
msgid ""
2770-
"A. The decimal module makes it easy to test results. A best practice is to "
2773+
"A: The decimal module makes it easy to test results. A best practice is to "
27712774
"re-run calculations using greater precision and with various rounding modes. "
27722775
"Widely differing results indicate insufficient precision, rounding mode "
27732776
"issues, ill-conditioned inputs, or a numerically unstable algorithm."
27742777
msgstr ""
27752778

27762779
#: ../../library/decimal.rst:2238
27772780
msgid ""
2778-
"Q. I noticed that context precision is applied to the results of operations "
2781+
"Q: I noticed that context precision is applied to the results of operations "
27792782
"but not to the inputs. Is there anything to watch out for when mixing "
27802783
"values of different precisions?"
27812784
msgstr ""
27822785

27832786
#: ../../library/decimal.rst:2242
27842787
msgid ""
2785-
"A. Yes. The principle is that all values are considered to be exact and so "
2788+
"A: Yes. The principle is that all values are considered to be exact and so "
27862789
"is the arithmetic on those values. Only the results are rounded. The "
27872790
"advantage for inputs is that \"what you type is what you get\". A "
27882791
"disadvantage is that the results can look odd if you forget that the inputs "
@@ -2823,12 +2826,12 @@ msgid ""
28232826
msgstr ""
28242827

28252828
#: ../../library/decimal.rst:2270
2826-
msgid "Q. Is the CPython implementation fast for large numbers?"
2829+
msgid "Q: Is the CPython implementation fast for large numbers?"
28272830
msgstr ""
28282831

28292832
#: ../../library/decimal.rst:2272
28302833
msgid ""
2831-
"A. Yes. In the CPython and PyPy3 implementations, the C/CFFI versions of "
2834+
"A: Yes. In the CPython and PyPy3 implementations, the C/CFFI versions of "
28322835
"the decimal module integrate the high speed `libmpdec <https://www.bytereef."
28332836
"org/mpdecimal/doc/libmpdec/index.html>`_ library for arbitrary precision "
28342837
"correctly rounded decimal floating-point arithmetic [#]_. ``libmpdec`` uses "

0 commit comments

Comments
 (0)