blob: a5c27b6fa4b976fc45f657516129a8dc25bf7a67 [file] [log] [blame]
The with-statement now checks for __enter__ before it checks for __exit__.
This gives less confusing error messages when both methods are missing.
Patch by Jonathan Ellington.