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 16, 2016
1 parent 8eb3b95 commit 65ea18a
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 @@ -197,11 +197,6 @@ def errors_to_json(errors):
dict(status="success", data={"errors": out}), sort_keys=True)


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 65ea18a

Please sign in to comment.