summaryrefslogtreecommitdiffstats
path: root/Lib/formatter.py
diff options
context:
space:
mode:
authorRaymond Hettinger <python@rcn.com>2004-12-07 07:55:07 (GMT)
committerRaymond Hettinger <python@rcn.com>2004-12-07 07:55:07 (GMT)
commit57aef9cb29c894497110f38949b8efb593a5c0c2 (patch)
tree6c7bfdcf28f7f14fc5972f7788cc5c781d218e4f /Lib/formatter.py
parenta6b45cc31d33c166c84866f78d504a99d409895c (diff)
downloadcpython-57aef9cb29c894497110f38949b8efb593a5c0c2.zip
cpython-57aef9cb29c894497110f38949b8efb593a5c0c2.tar.gz
cpython-57aef9cb29c894497110f38949b8efb593a5c0c2.tar.bz2
Remove outdated references to the regsub module.
Diffstat (limited to 'Lib/formatter.py')
-rw-r--r--Lib/formatter.py1
1 files changed, 0 insertions, 1 deletions
diff --git a/Lib/formatter.py b/Lib/formatter.py
index 109d66c..261090c 100644
--- a/Lib/formatter.py
+++ b/Lib/formatter.py
@@ -177,7 +177,6 @@ class AbstractFormatter:
def add_flowing_data(self, data):
if not data: return
# The following looks a bit convoluted but is a great improvement over
- # data = regsub.gsub('[' + string.whitespace + ']+', ' ', data)
prespace = data[:1].isspace()
postspace = data[-1:].isspace()
data = " ".join(data.split())