@@ -11,7 +11,7 @@ msgid ""
1111msgstr ""
1212"Project-Id-Version : Python 3.14\n "
1313"Report-Msgid-Bugs-To : \n "
14- "POT-Creation-Date : 2025-12-01 14:16 +0000\n "
14+ "POT-Creation-Date : 2025-12-19 14:15 +0000\n "
1515"PO-Revision-Date : 2025-09-16 00:01+0000\n "
1616"Last-Translator : python-doc bot, 2025\n "
1717"Language-Team : Polish (https://app.transifex.com/python-doc/teams/5390/pl/)\n "
@@ -36,11 +36,11 @@ msgid ""
3636msgstr ""
3737
3838msgid ""
39- "Decimal \" is based on a floating-point model which was designed with people "
40- "in mind, and necessarily has a paramount guiding principle -- computers must "
41- "provide an arithmetic that works in the same way as the arithmetic that "
42- "people learn at school. \" -- excerpt from the decimal arithmetic "
43- "specification."
39+ "Decimal \" is based on a ` floating-point model <https://speleotrove.com/ "
40+ "decimal/damodel.html#refnumber>`__ which was designed with people in mind, "
41+ "and necessarily has a paramount guiding principle -- computers must provide "
42+ "an arithmetic that works in the same way as the arithmetic that people learn "
43+ "at school. \" -- excerpt from the decimal arithmetic specification."
4444msgstr ""
4545
4646msgid ""
@@ -266,6 +266,28 @@ msgid ""
266266"Decimal('0.77')"
267267msgstr ""
268268
269+ msgid ""
270+ "Decimals can be formatted (with :func:`format` built-in or :ref:`f-strings`) "
271+ "in fixed-point or scientific notation, using the same formatting syntax "
272+ "(see :ref:`formatspec`) as builtin :class:`float` type:"
273+ msgstr ""
274+
275+ msgid ""
276+ ">>> format(Decimal('2.675'), \" f\" )\n"
277+ "'2.675'\n"
278+ ">>> format(Decimal('2.675'), \" .2f\" )\n"
279+ "'2.68'\n"
280+ ">>> f\" {Decimal('2.675'):.2f}\" \n"
281+ "'2.68'\n"
282+ ">>> format(Decimal('2.675'), \" .2e\" )\n"
283+ "'2.68e+0'\n"
284+ ">>> with localcontext() as ctx:\n"
285+ "... ctx.rounding = ROUND_DOWN\n"
286+ "... print(format(Decimal('2.675'), \" .2f\" ))\n"
287+ "...\n"
288+ "2.67"
289+ msgstr ""
290+
269291msgid "And some mathematical functions are also available to Decimal:"
270292msgstr ""
271293
0 commit comments