File tree Expand file tree Collapse file tree 6 files changed +3
-9
lines changed Expand file tree Collapse file tree 6 files changed +3
-9
lines changed Original file line number Diff line number Diff line change @@ -109,7 +109,7 @@ static const char PyCursesVersion[] = "2.2";
109109#include  "Python.h" 
110110#include  "pycore_long.h"           // _PyLong_GetZero() 
111111#include  "pycore_structseq.h"      // _PyStructSequence_NewType() 
112- #include  "pycore_sysmodule.h"    // _PySys_GetOptionalAttrString() 
112+ #include  "pycore_sysmodule.h"       // _PySys_GetOptionalAttrString() 
113113
114114#ifdef  __hpux 
115115#define  STRICT_SYSV_CURSES 
Original file line number Diff line number Diff line change 1313#include  "pycore_moduleobject.h"   // _PyModule_GetState() 
1414#include  "pycore_runtime.h"        // _Py_ID() 
1515#include  "pycore_pystate.h"        // _PyThreadState_GET() 
16- #include  "pycore_sysmodule.h"           // _PySys_GetSizeOf () 
16+ #include  "pycore_sysmodule.h"      // _PySys_GetRequiredAttr () 
1717#include  "structmember.h"          // PyMemberDef 
1818
1919#include  <stdlib.h>                // strtol() 
Original file line number Diff line number Diff line change @@ -146,7 +146,6 @@ _get_tcl_lib_path(void)
146146        PyObject  * prefix ;
147147        struct  stat  stat_buf ;
148148        int  stat_return_value ;
149-         PyObject  * prefix ;
150149
151150        prefix  =  PyUnicode_FromWideChar (Py_GetPrefix (), -1 );
152151        if  (prefix  ==  NULL ) {
@@ -3553,10 +3552,6 @@ PyInit__tkinter(void)
35533552#endif  /* MS_WINDOWS */ 
35543553        }
35553554        Py_XDECREF (cexe );
3556-         Py_DECREF (uexe );
3557-     }
3558-     else  {
3559-         Py_XDECREF (uexe );
35603555    }
35613556
35623557    if  (PyErr_Occurred ()) {
Original file line number Diff line number Diff line change 88#include  "pycore_pystate.h"        // _PyInterpreterState_GET() 
99#include  "pycore_moduleobject.h"   // _PyModule_GetDef() 
1010#include  "structmember.h"          // PyMemberDef 
11- #include  "pycore_sysmodule.h"      // _PySys_GetOptionalAttrString() 
1211
1312
1413static  PyMemberDef  module_members [] =  {
Original file line number Diff line number Diff line change 2424#include  "pycore_tuple.h"          // _PyTuple_ITEMS() 
2525#include  "pycore_typeobject.h"     // _PySuper_Lookup() 
2626#include  "pycore_emscripten_signal.h"   // _Py_CHECK_EMSCRIPTEN_SIGNALS 
27- #include  "pycore_sysmodule.h"      // _PySys_GetOptionalAttrString() 
2827
2928#include  "pycore_dict.h" 
3029#include  "dictobject.h" 
Original file line number Diff line number Diff line change @@ -29,6 +29,7 @@ Data members:
2929#include  "pycore_pymem.h"          // _PyMem_SetDefaultAllocator() 
3030#include  "pycore_pystate.h"        // _PyThreadState_GET() 
3131#include  "pycore_structseq.h"      // _PyStructSequence_InitBuiltinWithFlags() 
32+ #include  "pycore_sysmodule.h" 
3233#include  "pycore_tuple.h"          // _PyTuple_FromArray() 
3334
3435#include  "frameobject.h"           // PyFrame_FastToLocalsWithError() 
 
 
   
 
     
   
   
          
    
    
     
    
      
     
     
    You can’t perform that action at this time.
  
 
    
  
    
      
        
     
       
      
     
   
 
    
    
  
 
  
 
     
    
0 commit comments