Adopt more descriptive attribute names as suggested on python-dev.

This commit is contained in:
Raymond Hettinger 2010-09-04 22:46:06 +00:00
parent e9a4de51ab
commit 02566ec89f
5 changed files with 23 additions and 23 deletions

View file

@ -207,8 +207,8 @@ def compile(pattern, flags=0):
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"