old_contents: from textstat.textstat import textstat
  
  
  __version__ = (0, 5, 0)
  
  
  for attribute in dir(textstat):
      if callable(getattr(textstat, attribute)):
          if not attribute.startswith("_"):
              globals()[attribute] = getattr(textstat, attribute)
  
new_contents: from .textstat import textstat
  
  
  __version__ = (0, 5, 0)
  
  
  for attribute in dir(textstat):
      if callable(getattr(textstat, attribute)):
          if not attribute.startswith("_"):
              globals()[attribute] = getattr(textstat, attribute)
  
subject: fix issue with python2 importing