Need help with "with-statement-compatible" object
Dmitry Teslenko
dteslenko at gmail.com
Wed Dec 19 05:48:17 EST 2007
On Dec 19, 2007 12:14 PM, Peter Otten <__peter__ at web.de> wrote:
> def __enter__(self):
> # ...
> return self
>
> should help.
That helps. Thanks!
More information about the Python-list
mailing list