Skip to content

Commit 55cc1cf

Browse files
committed
Use param name in Decimal.__format__ docstring
1 parent aff0b5d commit 55cc1cf

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

Modules/_decimal/_decimal.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3625,13 +3625,13 @@ _decimal.Decimal.__format__
36253625
override: object = NULL
36263626
/
36273627
3628-
Formats the Decimal according to fmtarg.
3628+
Formats the Decimal according to format_spec.
36293629
[clinic start generated code]*/
36303630

36313631
static PyObject *
36323632
_decimal_Decimal___format___impl(PyObject *dec, PyObject *fmtarg,
36333633
PyObject *override)
3634-
/*[clinic end generated code: output=4b3640b7f0c8b6a5 input=41a600cc5135e705]*/
3634+
/*[clinic end generated code: output=4b3640b7f0c8b6a5 input=e53488e49a0fff00]*/
36353635
{
36363636
PyObject *result = NULL;
36373637
PyObject *dot = NULL;

Modules/_decimal/clinic/_decimal.c.h

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)