original_docstring: Convert Tcl list to Python list (necessary on Windows).
docstring: Convert Tcl list to Python list (necessary on Windows).
docstring_tokens: Convert Tcl list to Python list ( necessary on Windows ) .
code: def _fix_tkinter_bug(filenames):
      """Convert Tcl list to Python list (necessary on Windows)."""
  
      if not isinstance(filenames, (tuple, list)):
          filenames = re.findall(r'{[^}]+}|\S+', filenames)
          filenames = [re.sub('^{|}$', '', i) for i in filenames]
  
      return filenames
code_tokens: def _fix_tkinter_bug ( filenames ) : if not isinstance ( filenames , ( tuple , list ) ) : filenames = re . findall ( r'{[^}]+}|\S+' , filenames ) filenames = [ re . sub ( '^{|}$' , '' , i ) for i in filenames ] return filenames
short_docstring: Convert Tcl list to Python list (necessary on Windows).
short_docstring_tokens: Convert Tcl list to Python list ( necessary on Windows ) .
comment: """Convert Tcl list to Python list (necessary on Windows)."""