#33 Patch: __enter__ and __exit__ are special methods

open
nobody
None
5
2007-11-23
2007-11-23
William Harris
No

PyChecker warns that __enter__ and __exit__ are not special methods (see PEP 343).

This patch adds signatures for those methods to SPECIAL_METHODS and adds a test that the warnings have gone away.

Discussion