parameters: (filename)
return_statement: return os.path.splitext(filename)[-1]
docstring: Return the extension of a file.
docstring_summary: Return the extension of a file.
docstring_tokens: Return the extension of a file .
function: def get_extension(filename):
      """Return the extension of a file."""
      return os.path.splitext(filename)[-1]
function_tokens: def get_extension ( filename ) : return os . path . splitext ( filename ) [ - 1 ]