Commit Graph

1 Commits

Author SHA1 Message Date
Jeremy Hylton b476d59792 Add __enter__ and __exit__ methods to addbase() so that it supports with.
This change also adds a minimal unittest of urllib.response.addbase.
More are needed, but not to cover the small change being made here.

Addresses http://bugs.python.org/issue5418
2009-03-26 21:34:20 +00:00