mirror of
https://github.com/python/cpython.git
synced 2026-01-27 05:05:50 +00:00
gh-142440: Fix _decimal builds configured with EXTRA_FUNCTIONALITY (GH-142441)
There was a typo in _decimal.Context.apply().
This commit is contained in:
parent
813fc7a291
commit
7dca4e3af1
@ -0,0 +1,2 @@
|
||||
Fix _decimal builds configured with EXTRA_FUNCTIONALITY by correcting the
|
||||
Context.apply wrapper to pass the right argument.
|
||||
@ -6991,7 +6991,7 @@ _decimal_Context_apply_impl(PyObject *context, PyTypeObject *cls,
|
||||
PyObject *x)
|
||||
/*[clinic end generated code: output=f8a7142d47ad4ff3 input=388e66ca82733516]*/
|
||||
{
|
||||
return _decimal_Context__apply(context, v);
|
||||
return _decimal_Context__apply(context, x);
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user