From 65ea18a086a45bac544c728a95d660ed66484b48 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 90bd3a727..a746dd288 100644 --- a/proselint/tools.py +++ b/proselint/tools.py @@ -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