mirror of
https://github.com/python/cpython.git
synced 2025-08-29 21:25:01 +00:00
Adopt more descriptive attribute names as suggested on python-dev.
This commit is contained in:
parent
e9a4de51ab
commit
02566ec89f
5 changed files with 23 additions and 23 deletions
|
@ -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"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue