@@ -106,7 +106,7 @@ public static IntPtr GetProcAddress(IntPtr dllHandle, string name)
106106 public class Runtime
107107 {
108108 // C# compiler copies constants to the assemblies that references this library.
109- // We needs to replace all public constants to static readonly fields to allow
109+ // We needs to replace all public constants to static readonly fields to allow
110110 // binary substitution of different Python.Runtime.dll builds in a target application.
111111
112112 public static int UCS => _UCS ;
@@ -132,7 +132,7 @@ public class Runtime
132132#endif
133133
134134 // C# compiler copies constants to the assemblies that references this library.
135- // We needs to replace all public constants to static readonly fields to allow
135+ // We needs to replace all public constants to static readonly fields to allow
136136 // binary substitution of different Python.Runtime.dll builds in a target application.
137137
138138 public static string pyversion => _pyversion ;
@@ -175,7 +175,7 @@ public class Runtime
175175#endif
176176
177177 // C# compiler copies constants to the assemblies that references this library.
178- // We needs to replace all public constants to static readonly fields to allow
178+ // We needs to replace all public constants to static readonly fields to allow
179179 // binary substitution of different Python.Runtime.dll builds in a target application.
180180
181181 public static readonly string PythonDLL = _PythonDll ;
@@ -1193,7 +1193,7 @@ internal static bool PyFloat_Check(IntPtr ob)
11931193 internal static extern IntPtr PyNumber_Multiply( IntPtr o1, IntPtr o2) ;
11941194
11951195 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1196- internal static extern IntPtr PyNumber_Divide ( IntPtr o1, IntPtr o2) ;
1196+ internal static extern IntPtr PyNumber_TrueDivide ( IntPtr o1, IntPtr o2) ;
11971197
11981198 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
11991199 internal static extern IntPtr PyNumber_And( IntPtr o1, IntPtr o2) ;
@@ -1226,7 +1226,7 @@ internal static bool PyFloat_Check(IntPtr ob)
12261226 internal static extern IntPtr PyNumber_InPlaceMultiply( IntPtr o1, IntPtr o2) ;
12271227
12281228 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
1229- internal static extern IntPtr PyNumber_InPlaceDivide ( IntPtr o1, IntPtr o2) ;
1229+ internal static extern IntPtr PyNumber_InPlaceTrueDivide ( IntPtr o1, IntPtr o2) ;
12301230
12311231 [ DllImport( _PythonDll, CallingConvention = CallingConvention. Cdecl) ]
12321232 internal static extern IntPtr PyNumber_InPlaceAnd( IntPtr o1, IntPtr o2) ;
0 commit comments