original_docstring: 
      Given an album title and photographer name, tries very hard to remove the name of the
      photographer from the album title, leaving behind no funny punctuation.
  
      >>> strip_photographer_name_from_title('Foo Bar - Cool Pics', 'Foo Bar')
      'Cool Pics'
      >>> strip_photographer_name_from_title('', 'quux')
      ''
      >>> strip_photographer_name_from_title('Not Much Left', 'Not Much Left')
      ''
      
docstring: Given an album title and photographer name, tries very hard to remove the name of the
  photographer from the album title, leaving behind no funny punctuation.
  
  
docstring_tokens: Given an album title and photographer name tries very hard to remove the name of the photographer from the album title leaving behind no funny punctuation .
code: def strip_photographer_name_from_title(title: str, name: str) -> str:
      """
      Given an album title and photographer name, tries very hard to remove the name of the
      photographer from the album title, leaving behind no funny punctuation.
  
      >>> strip_photographer_name_from_title('Foo Bar - Cool Pics', 'Foo Bar')
      'Cool Pics'
      >>> strip_photographer_name_from_title('', 'quux')
      ''
      >>> strip_photographer_name_from_title('Not Much Left', 'Not Much Left')
      ''
      """
      title = title.replace(name, '').strip()
      prev_title = None
  
      while title != prev_title:
          prev_title = title
          for punk in SEPARATIST_PUNKS:
              title = title.strip(punk).strip()
  
      return title
code_tokens: def strip_photographer_name_from_title ( title : str , name : str ) -> str : title = title . replace ( name , '' ) . strip ( ) prev_title = None while title != prev_title : prev_title = title for punk in SEPARATIST_PUNKS : title = title . strip ( punk ) . strip ( ) return title
short_docstring: Given an album title and photographer name, tries very hard to remove the name of the
  photographer from the album title, leaving behind no funny punctuation.
short_docstring_tokens: Given an album title and photographer name tries very hard to remove the name of the photographer from the album title leaving behind no funny punctuation .
comment: """
      Given an album title and photographer name, tries very hard to remove the name of the
      photographer from the album title, leaving behind no funny punctuation.
  
      >>> strip_photographer_name_from_title('Foo Bar - Cool Pics', 'Foo Bar')
      'Cool Pics'
      >>> strip_photographer_name_from_title('', 'quux')
      ''
      >>> strip_photographer_name_from_title('Not Much Left', 'Not Much Left')
      ''
      """