diff options
author | Raymond Hettinger <python@rcn.com> | 2004-12-07 07:55:07 +0000 |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2004-12-07 07:55:07 +0000 |
commit | 9e32da160f07a19b3ce1a986e5fd33ac09fc617b (patch) | |
tree | 56b3cc26613a0511c63a08d91d2b2e5f5b794dca /Lib/string.py | |
parent | 8e17bc8bb1e06c97de358cc12b623528b97f9562 (diff) | |
download | cpython-9e32da160f07a19b3ce1a986e5fd33ac09fc617b.tar.gz |
Remove outdated references to the regsub module.
Diffstat (limited to 'Lib/string.py')
-rw-r--r-- | Lib/string.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/string.py b/Lib/string.py index 7c0e001a79..ba85a49835 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. |