commit | 02566ec89f90e5696eef062414c69a7c7ee991df | [log] [tgz] |
---|---|---|
author | Raymond Hettinger <python@rcn.com> | Sat Sep 04 22:46:06 2010 +0000 |
committer | Raymond Hettinger <python@rcn.com> | Sat Sep 04 22:46:06 2010 +0000 |
tree | dc8ca5b5c0ca581ebdfaafd073d901c57e9137bd | |
parent | e9a4de51ab5ba19d4b1295aadad0533eea394b0a [diff] [blame] |
Adopt more descriptive attribute names as suggested on python-dev.
diff --git a/Lib/re.py b/Lib/re.py index 1dcf4a7..92e4e4c 100644 --- a/Lib/re.py +++ b/Lib/re.py
@@ -207,8 +207,8 @@ def purge(): "Clear the regular expression caches" - _compile_typed.clear() - _compile_repl.clear() + _compile_typed.cache_clear() + _compile_repl.cache_clear() def template(pattern, flags=0): "Compile a template pattern, returning a pattern object"