summaryrefslogtreecommitdiffstats
path: root/Lib/string.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/string.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/string.py')
-rw-r--r--Lib/string.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/string.py b/Lib/string.py
index 7c0e001..ba85a49 100644
--- a/Lib/string.py
+++ b/Lib/string.py
@@ -43,7 +43,6 @@ del l
# Functions which aren't available as string methods.
# Capitalize the words in a string, e.g. " aBc dEf " -> "Abc Def".
-# See also regsub.capwords().
def capwords(s, sep=None):
"""capwords(s, [sep]) -> string
@@ -78,7 +77,7 @@ def maketrans(fromstr, tostr):
return ''.join(L)
-
+
####################################################################
import re as _re
@@ -205,7 +204,7 @@ class Template:
return self.pattern.sub(convert, self.template)
-
+
####################################################################
# NOTE: Everything below here is deprecated. Use string methods instead.
# This stuff will go away in Python 3.0.