@@ -232,13 +232,13 @@ internal static void Initialize()
232
232
}
233
233
234
234
#if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
235
- IntPtr op = Runtime . PyImport_ImportModule ( "builtins" ) ;
236
- IntPtr dict = Runtime . PyObject_GetAttrString ( op , "__dict__" ) ;
237
- PyNotImplemented = Runtime . PyObject_GetAttrString ( op , "NotImplemented" ) ;
235
+ IntPtr op = Runtime . PyImport_ImportModule ( "builtins" ) ;
236
+ IntPtr dict = Runtime . PyObject_GetAttrString ( op , "__dict__" ) ;
238
237
#else
239
238
IntPtr dict = Runtime . PyImport_GetModuleDict ( ) ;
240
239
IntPtr op = Runtime . PyDict_GetItemString ( dict , "__builtin__" ) ;
241
240
#endif
241
+ PyNotImplemented = Runtime . PyObject_GetAttrString ( op , "NotImplemented" ) ;
242
242
PyBaseObjectType = Runtime . PyObject_GetAttrString ( op , "object" ) ;
243
243
244
244
PyModuleType = Runtime . PyObject_Type ( op ) ;
@@ -263,7 +263,7 @@ internal static void Initialize()
263
263
Runtime . XDecref ( op ) ;
264
264
265
265
#if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
266
- Runtime . XDecref ( dict ) ;
266
+ Runtime . XDecref ( dict ) ;
267
267
#endif
268
268
269
269
op = Runtime . PyString_FromString ( "string" ) ;
@@ -275,9 +275,9 @@ internal static void Initialize()
275
275
Runtime . XDecref ( op ) ;
276
276
277
277
#if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
278
- op = Runtime . PyBytes_FromString ( "bytes" ) ;
279
- PyBytesType = Runtime . PyObject_Type ( op ) ;
280
- Runtime . XDecref ( op ) ;
278
+ op = Runtime . PyBytes_FromString ( "bytes" ) ;
279
+ PyBytesType = Runtime . PyObject_Type ( op ) ;
280
+ Runtime . XDecref ( op ) ;
281
281
#endif
282
282
283
283
op = Runtime . PyTuple_New ( 0 ) ;
@@ -397,17 +397,18 @@ internal static int AtExit()
397
397
internal static IntPtr PyTypeType ;
398
398
399
399
#if ( PYTHON32 || PYTHON33 || PYTHON34 || PYTHON35 )
400
- internal static IntPtr PyBytesType ;
401
- internal static IntPtr PyNotImplemented ;
402
- internal const int Py_LT = 0 ;
403
- internal const int Py_LE = 1 ;
404
- internal const int Py_EQ = 2 ;
405
- internal const int Py_NE = 3 ;
406
- internal const int Py_GT = 4 ;
407
- internal const int Py_GE = 5 ;
408
- internal static IntPtr _PyObject_NextNotImplemented ;
400
+ internal static IntPtr PyBytesType ;
401
+ internal static IntPtr _PyObject_NextNotImplemented ;
409
402
#endif
410
403
404
+ internal static IntPtr PyNotImplemented ;
405
+ internal const int Py_LT = 0 ;
406
+ internal const int Py_LE = 1 ;
407
+ internal const int Py_EQ = 2 ;
408
+ internal const int Py_NE = 3 ;
409
+ internal const int Py_GT = 4 ;
410
+ internal const int Py_GE = 5 ;
411
+
411
412
internal static IntPtr PyTrue ;
412
413
internal static IntPtr PyFalse ;
413
414
internal static IntPtr PyNone ;
0 commit comments