Skip to content

Commit 9687877

Browse files
Apply suggestions from code review
Co-authored-by: Serhiy Storchaka <[email protected]>
1 parent 6a7acb8 commit 9687877

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

Modules/_decimal/_decimal.c

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1569,7 +1569,7 @@ init_extended_context(PyObject *v)
15691569
/* Factory function for creating IEEE interchange format contexts */
15701570

15711571
/*[clinic input]
1572-
_decimal.Decimal.IEEEContext
1572+
_decimal.IEEEContext
15731573
15741574
self as module: self
15751575
bits: Py_ssize_t
@@ -1922,7 +1922,7 @@ PyDec_SetCurrentContext(PyObject *self, PyObject *v)
19221922
#endif
19231923

19241924
/*[clinic input]
1925-
_decimal.Decimal.getcontext
1925+
_decimal.getcontext
19261926
19271927
Get the current default context.
19281928
[clinic start generated code]*/
@@ -1935,7 +1935,7 @@ _decimal_Decimal_getcontext_impl(PyObject *self)
19351935
}
19361936

19371937
/*[clinic input]
1938-
_decimal.Decimal.setcontext
1938+
_decimal.setcontext
19391939
19401940
context: object
19411941
/
@@ -1956,7 +1956,7 @@ _decimal_Decimal_setcontext(PyObject *self, PyObject *context)
19561956

19571957
/*[clinic input]
19581958
@text_signature "($module, /, ctx=None, **kwargs)"
1959-
_decimal.Decimal.localcontext
1959+
_decimal.localcontext
19601960
19611961
self as m: self
19621962
ctx as local: object = None
@@ -3624,7 +3624,7 @@ pydec_format(PyObject *dec, PyObject *context, PyObject *fmt, decimal_state *sta
36243624
_decimal.Decimal.__format__
36253625
36263626
self as dec: self
3627-
fmtarg: object
3627+
format_spec as fmtarg: object
36283628
override: object = NULL
36293629
/
36303630

0 commit comments

Comments
 (0)