~bzr-pqm/bzr/bzr.dev

« back to all changes in this revision

Viewing changes to bzrlib/lazy_regex.py

  • Committer: Jelmer Vernooij
  • Date: 2009-02-23 20:55:58 UTC
  • mfrom: (4034 +trunk)
  • mto: This revision was merged to the branch mainline in revision 4053.
  • Revision ID: jelmer@samba.org-20090223205558-1cx2k4w1zgs8r5qa
Merge bzr.dev.

Show diffs side-by-side

added added

removed removed

Lines of Context:
91
91
 
92
92
def reset_compile():
93
93
    """Restore the original function to re.compile().
94
 
    
 
94
 
95
95
    It is safe to call reset_compile() multiple times, it will always
96
96
    restore re.compile() to the value that existed at import time.
97
97
    Though the first call will reset back to the original (it doesn't