2 ms·
Neither of these things are equivalent to destructors, however
by duped 4y ago
Neither of these things are equivalent to destructors, however
- im3w1l 4y agoThey aren't equivalent but they can do the task in question: with prompt_password() as password: stuff Once the scope exits, the context manager can scramble the memory.