We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c8fdbcb commit af30873Copy full SHA for af30873
src/runtime/runtime.cs
@@ -277,7 +277,7 @@ private static void InitPyMembers()
277
() => PyFloatType = IntPtr.Zero);
278
XDecref(op);
279
280
- IntPtr decimalMod = PyImport_ImportModule("decimal");
+ IntPtr decimalMod = PyImport_ImportModule("_pydecimal");
281
IntPtr decimalCtor = PyObject_GetAttrString(decimalMod, "Decimal");
282
op = PyObject_CallObject(decimalCtor, IntPtr.Zero);
283
PyDecimalType = PyObject_Type(op);
0 commit comments