b.t.t.InstrumentedLazyRegex(lazy_regex.LazyRegex) : class documentation

Part of bzrlib.tests.test_lazy_regex View In Hierarchy

Keep track of actions on the lazy regex
Class Method use_actions Undocumented
Method __getattr__ Return a member from the proxied regex object.
Method _real_re_compile Thunk over to the original re.compile

Inherited from LazyRegex:

Method __init__ Create a new proxy object, passing in the args to pass to re.compile
Method _compile_and_collapse Actually compile the requested regex
@classmethod
def use_actions(cls, actions):
Undocumented
def __getattr__(self, attr):
Return a member from the proxied regex object.

If the regex hasn't been compiled yet, compile it

def _real_re_compile(self, *args, **kwargs):
Thunk over to the original re.compile
API Documentation for Bazaar, generated by pydoctor at 2022-06-16 00:25:16.