From b416eaa7dca7d44504e51f1063da7580ce0bf970 Mon Sep 17 00:00:00 2001 From: Jordan Suchow Date: Sun, 10 Apr 2016 02:00:45 -0700 Subject: [PATCH] Remove unnecessary function in tools --- proselint/tools.py | 5 ----- 1 file changed, 5 deletions(-) diff --git a/proselint/tools.py b/proselint/tools.py index e97270d45..510fdcf24 100644 --- a/proselint/tools.py +++ b/proselint/tools.py @@ -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