@@ -11,7 +11,7 @@ msgid ""
11
11
msgstr ""
12
12
"Project-Id-Version : Python 3.12\n "
13
13
"Report-Msgid-Bugs-To : \n "
14
- "POT-Creation-Date : 2025-02-07 14:52 +0000\n "
14
+ "POT-Creation-Date : 2025-02-14 14:53 +0000\n "
15
15
"PO-Revision-Date : 2024-05-11 00:33+0000\n "
16
16
"Last-Translator : Rafael Fontenelle <rffontenelle@gmail.com>, 2025\n "
17
17
"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -469,6 +469,10 @@ msgid ""
469
469
">>> Decimal(-7) % Decimal(4)\n"
470
470
"Decimal('-3')"
471
471
msgstr ""
472
+ ">>> (-7) % 4\n"
473
+ "1\n"
474
+ ">>> Decimal(-7) % Decimal(4)\n"
475
+ "Decimal('-3')"
472
476
473
477
msgid ""
474
478
"The integer division operator ``//`` behaves analogously, returning the "
@@ -482,6 +486,10 @@ msgid ""
482
486
">>> Decimal(-7) // Decimal(4)\n"
483
487
"Decimal('-1')"
484
488
msgstr ""
489
+ ">>> -7 // 4\n"
490
+ "-2\n"
491
+ ">>> Decimal(-7) // Decimal(4)\n"
492
+ "Decimal('-1')"
485
493
486
494
msgid ""
487
495
"The ``%`` and ``//`` operators implement the ``remainder`` and ``divide-"
@@ -646,6 +654,14 @@ msgid ""
646
654
">>> Decimal.from_float(float('-inf'))\n"
647
655
"Decimal('-Infinity')"
648
656
msgstr ""
657
+ ">>> Decimal.from_float(0.1)\n"
658
+ "Decimal('0.1000000000000000055511151231257827021181583404541015625')\n"
659
+ ">>> Decimal.from_float(float('nan'))\n"
660
+ "Decimal('NaN')\n"
661
+ ">>> Decimal.from_float(float('inf'))\n"
662
+ "Decimal('Infinity')\n"
663
+ ">>> Decimal.from_float(float('-inf'))\n"
664
+ "Decimal('-Infinity')"
649
665
650
666
msgid ""
651
667
"Fused multiply-add. Return self*other+third with no rounding of the "
@@ -1207,6 +1223,8 @@ msgid ""
1207
1223
">>> Context(prec=6, Emax=999, clamp=1).create_decimal('1.23e999')\n"
1208
1224
"Decimal('1.23000E+999')"
1209
1225
msgstr ""
1226
+ ">>> Context(prec=6, Emax=999, clamp=1).create_decimal('1.23e999')\n"
1227
+ "Decimal('1.23000E+999')"
1210
1228
1211
1229
msgid ""
1212
1230
"A *clamp* value of ``1`` allows compatibility with the fixed-width decimal "
@@ -2180,6 +2198,8 @@ msgid ""
2180
2198
">>> Decimal(math.pi)\n"
2181
2199
"Decimal('3.141592653589793115997963468544185161590576171875')"
2182
2200
msgstr ""
2201
+ ">>> Decimal(math.pi)\n"
2202
+ "Decimal('3.141592653589793115997963468544185161590576171875')"
2183
2203
2184
2204
msgid ""
2185
2205
"Q. Within a complex calculation, how can I make sure that I haven't gotten a "
@@ -2225,6 +2245,9 @@ msgid ""
2225
2245
">>> +Decimal('1.23456789') # unary plus triggers rounding\n"
2226
2246
"Decimal('1.23')"
2227
2247
msgstr ""
2248
+ ">>> getcontext().prec = 3\n"
2249
+ ">>> +Decimal('1.23456789') # unary plus triggers rounding\n"
2250
+ "Decimal('1.23')"
2228
2251
2229
2252
msgid ""
2230
2253
"Alternatively, inputs can be rounded upon creation using the :meth:`Context."
0 commit comments