@@ -1494,9 +1494,9 @@   TPythonInterface=class(TDynamicDll)
14941494                     Integer; cdecl;
14951495    DLL_Py_BuildValue:
14961496                     function( format: PAnsiChar { ;...}  ): PPyObject; cdecl;
1497+     { $ENDIF FPC} 
14971498    DLL_Py_GetBuildInfo:
14981499                     function : PAnsiChar; cdecl;
1499-     { $ENDIF FPC} 
15001500    DLL_PyCode_Addr2Line:
15011501                     function ( co: PPyCodeObject; addrq : Integer ) : Integer; cdecl;
15021502    DLL_PyImport_ExecCodeModule:
@@ -1619,9 +1619,6 @@   TPythonInterface=class(TDynamicDll)
16191619    PySeqIter_Type: PPyTypeObject;
16201620    PyStaticMethod_Type: PPyTypeObject;
16211621    PySuper_Type: PPyTypeObject;
1622-   { $IFNDEF PYTHON25_OR_HIGHER} 
1623-     PySymtableEntry_Type: PPyTypeObject;
1624-   { $ENDIF} 
16251622    PyTraceBack_Type: PPyTypeObject;
16261623    PyUnicode_Type: PPyTypeObject;
16271624    PyWrapperDescr_Type: PPyTypeObject;
@@ -3660,9 +3657,6 @@ procedure TPythonInterface.MapDll;
36603657  PySeqIter_Type             := Import (' PySeqIter_Type'  );
36613658  PyStaticMethod_Type        := Import (' PyStaticMethod_Type'  );
36623659  PySuper_Type               := Import (' PySuper_Type'  );
3663-   { $IFNDEF PYTHON25_OR_HIGHER} 
3664-     PySymtableEntry_Type     := Import (' PySymtableEntry_Type'  , False);
3665-   { $ENDIF} 
36663660  PyTraceBack_Type           := Import (' PyTraceBack_Type'  );
36673661  PyWrapperDescr_Type        := Import (' PyWrapperDescr_Type'  );
36683662  _PyWeakref_RefType         := Import (' _PyWeakref_RefType'  );
0 commit comments