Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 8f0b8e4

Browse files
Copilotjosix
andcommitted
Fix reST formatting: Add space between Chinese colon and :: according to translation guidelines
Co-authored-by: josix <[email protected]>
1 parent a7cea89 commit 8f0b8e4

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

library/decimal.po

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -156,7 +156,7 @@ msgid ""
156156
"values for precision, rounding, or enabled traps::"
157157
msgstr ""
158158
"使用 decimal 的通常起始步驟是引入模組、使用 :func:`getcontext` 檢視目前的情境,"
159-
"以及若有必要的話,設定精度、捨入方式或啟用陷阱的新值::"
159+
"以及若有必要的話,設定精度、捨入方式或啟用陷阱的新值: ::"
160160

161161
#: ../../library/decimal.rst:131
162162
msgid ""
@@ -186,7 +186,7 @@ msgid ""
186186
msgstr ""
187187
"Decimal 實例可以從整數、字串、浮點數或元組建構。從整數或浮點數建構會執行該整數"
188188
"或浮點數值的精確轉換。Decimal 數字包含特殊值,例如代表「非數字」的 ``NaN``、"
189-
"正負 ``Infinity``,以及 ``-0``::"
189+
"正負 ``Infinity``,以及 ``-0``: ::"
190190

191191
#: ../../library/decimal.rst:145
192192
msgid ""
@@ -233,7 +233,7 @@ msgid ""
233233
"exception::"
234234
msgstr ""
235235
"如果 :exc:`FloatOperation` 訊號被捕捉,在建構函式或排序比較中意外混用 decimal "
236-
"和 float 會引發例外::"
236+
"和 float 會引發例外: ::"
237237

238238
#: ../../library/decimal.rst:167
239239
msgid ""
@@ -301,7 +301,7 @@ msgid ""
301301
"If the internal limits of the C version are exceeded, constructing a decimal "
302302
"raises :class:`InvalidOperation`::"
303303
msgstr ""
304-
"如果超過 C 版本的內部限制,建構 decimal 會引發 :class:`InvalidOperation`::"
304+
"如果超過 C 版本的內部限制,建構 decimal 會引發 :class:`InvalidOperation`: ::"
305305

306306
#: ../../library/decimal.rst:202
307307
msgid ""
@@ -547,7 +547,7 @@ msgid ""
547547
msgstr ""
548548
"*value* 可以是整數、字串、元組、:class:`float` 或其他 :class:`Decimal` 物件。"
549549
"如果沒有提供 *value*,則回傳 ``Decimal('0')``。如果 *value* 是字串,在移除"
550-
"前後空白字元以及整個字串中的底線後,它應該符合十進位數字字串語法::"
550+
"前後空白字元以及整個字串中的底線後,它應該符合十進位數字字串語法: ::"
551551

552552
#: ../../library/decimal.rst:355
553553
msgid ""
@@ -681,7 +681,7 @@ msgid ""
681681
"*dividend* rather than the sign of the divisor::"
682682
msgstr ""
683683
"Decimal 物件的算術運算與整數和浮點數的算術運算之間有一些小差異。當餘數運算子 "
684-
"``%`` 應用於 Decimal 物件時,結果的符號是 *被除數* 的符號,而不是除數的符號::"
684+
"``%`` 應用於 Decimal 物件時,結果的符號是 *被除數* 的符號,而不是除數的符號: ::"
685685

686686
#: ../../library/decimal.rst:420
687687
msgid ""
@@ -702,7 +702,7 @@ msgid ""
702702
"floor, so as to preserve the usual identity ``x == (x // y) * y + x % y``::"
703703
msgstr ""
704704
"整數除法運算子 ``//`` 的行為類似,回傳真商的整數部分(向零截斷)而不是其底數,"
705-
"以保持通常的恆等式 ``x == (x // y) * y + x % y``::"
705+
"以保持通常的恆等式 ``x == (x // y) * y + x % y``: ::"
706706

707707
#: ../../library/decimal.rst:429
708708
msgid ""
@@ -2513,7 +2513,7 @@ msgid ""
25132513
"Here are a few recipes that serve as utility functions and that demonstrate "
25142514
"ways to work with the :class:`Decimal` class::"
25152515
msgstr ""
2516-
"以下是一些實用範例,作為工具函式並展示與 :class:`Decimal` 類別協作的方法::"
2516+
"以下是一些實用範例,作為工具函式並展示與 :class:`Decimal` 類別協作的方法: ::"
25172517

25182518
#: ../../library/decimal.rst:1916
25192519
msgid ""

0 commit comments

Comments
 (0)