original_docstring: 
      Replace the draft version by an asterix
      :param ll: list of all files
      :param debug_level: debug level
      :return: a list of all the lines in the file, with the draft version replaced by *
      
docstring: Replace the draft version by an asterix
docstring_tokens: Replace the draft version by an asterix
code: def replace_draft_version_by_asterix(ll, debug_level):
      """
      Replace the draft version by an asterix
      :param ll: list of all files
      :param debug_level: debug level
      :return: a list of all the lines in the file, with the draft version replaced by *
      """
      newll = []
      for l in ll:
          head, sep, tail = l.partition('.')
          l = head.rstrip('-0123456789') + "*"
          if debug_level > 0:
              print("replace_draft_version_by_asterix: new file " + l)
          newll.append(l)
      if debug_level > 0:
          print("replace_draft_version_by_asterix: new list " + str(newll))
      return newll
code_tokens: def replace_draft_version_by_asterix ( ll , debug_level ) : newll = [ ] for l in ll : head , sep , tail = l . partition ( '.' ) l = head . rstrip ( '-0123456789' ) + "*" if debug_level > 0 : print ( "replace_draft_version_by_asterix: new file " + l ) newll . append ( l ) if debug_level > 0 : print ( "replace_draft_version_by_asterix: new list " + str ( newll ) ) return newll
short_docstring: Replace the draft version by an asterix
short_docstring_tokens: Replace the draft version by an asterix
comment: """
      Replace the draft version by an asterix
      :param ll: list of all files
      :param debug_level: debug level
      :return: a list of all the lines in the file, with the draft version replaced by *
      """