Skip to content

Commit 292cf54

Browse files
10622130josixmattwang44
authored
Translate library/stdtypes.po: numeric types (#1205)
* Working on libray/stdtype * Update library/stdtypes.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> * Update library/stdtypes.po Co-authored-by: W. H. Wang <mattwang44@gmail.com> --------- Co-authored-by: Josix <josixwang@gmail.com> Co-authored-by: W. H. Wang <mattwang44@gmail.com>
1 parent 30fd37f commit 292cf54

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

library/stdtypes.po

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,7 @@ msgstr ""
438438
msgid ""
439439
"A comparison between numbers of different types behaves as though the exact "
440440
"values of those numbers were being compared. [2]_"
441-
msgstr ""
441+
msgstr "不同型別的數值之間進行比較時,其行為就像是在比較這些數值的實際值 [2]_"
442442

443443
#: ../../library/stdtypes.rst:280
444444
msgid ""
@@ -9318,7 +9318,7 @@ msgstr ""
93189318

93199319
#: ../../library/stdtypes.rst:6332
93209320
msgid "Integer string conversion length limitation"
9321-
msgstr ""
9321+
msgstr "整數字串轉換長度限制"
93229322

93239323
#: ../../library/stdtypes.rst:6334
93249324
msgid ""
@@ -9327,6 +9327,9 @@ msgid ""
93279327
"decimal or other non-power-of-two number bases. Hexadecimal, octal, and "
93289328
"binary conversions are unlimited. The limit can be configured."
93299329
msgstr ""
9330+
"CPython 針對在 :class:`int` 與 :class:`str` 之間轉換時設有一個全域限制,"
9331+
"用於降低阻斷服務 (DoS) 攻擊的風險。這個限制\\* 只\\* 適用於十進位其他非 2 的冪次進位的數值。"
9332+
"十六進位、八進位,還有二進位的轉換則沒有長度限制。此限制值可以被調整。"
93309333

93319334
#: ../../library/stdtypes.rst:6339
93329335
msgid ""

0 commit comments

Comments
 (0)