parameters: (self)
docstring: The final component's last suffix, if any.
  
          This includes the leading period. For example: '.txt'
docstring_summary: The final component's last suffix, if any.
docstring_tokens: The final component s last suffix if any .
function: def suffix(self):
          """
          The final component's last suffix, if any.
  
          This includes the leading period. For example: '.txt'
          """
          name = self.name
          i = name.rfind('.')
          if 0 < i < len(name) - 1:
              return name[i:]
          else:
              return ''
function_tokens: def suffix ( self ) : name = self . name i = name . rfind ( '.' ) if 0 < i < len ( name ) - 1 : return name [ i : ] else : return ''