Part of bzrlib.lazy_import View In Hierarchy
Known subclasses: bzrlib.lazy_import.ImportReplacer, bzrlib.tests.test_lazy_import.InstrumentedReplacer
This object sits, ready to create the real object the first time it is needed.
| Method | __init__ | Create a temporary object in the specified scope. |
| Method | __getattribute__ | Undocumented |
| Method | __setattr__ | Undocumented |
| Method | __call__ | Undocumented |
| Method | _replace | Actually replace self with other in the given scope |
| Method | _cleanup | Stop holding on to all the extra stuff |
| Parameters | scope | The scope the object should appear in |
| factory | A callable that will create the real object. It will be passed (self, scope, name) | |
| name | The variable name in the given scope. |