Terry Reedy wrote:
Traceback (most recent call last):
  File "<pyshell#3>", line 1, in <module>
    with None: pass
AttributeError: __enter__

Like he said, you get an AttributeError!

--
Greg
--
https://mail.python.org/mailman/listinfo/python-list

Reply via email to