Skip to content

Commit

Permalink
Remove unnecessary function in tools
Browse files Browse the repository at this point in the history
  • Loading branch information
suchow committed Apr 10, 2016
1 parent 0c1a251 commit f0464de
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions proselint/tools.py
Original file line number Diff line number Diff line change
Expand Up @@ -196,11 +196,6 @@ def errors_to_json(errors):
return json.dumps(dict(status="success", data={"errors": out}))


def reverse(text):
"""Reverse a string. This is here as a demo of memoization."""
return text[::-1]


def line_and_column(text, position):
"""Return the line number and column of a position in a string."""
position_counter = 0
Expand Down

0 comments on commit f0464de

Please sign in to comment.