Remove hasattr reference in One-to-One documentation example
|Patch needs improvement:
The One-to-One example of using
hasattr to avoid exception handling is based on the side effect of
hasattr swallowing all exceptions. This was pre-Python 3.2 behaviour and has been changed to only suppress AttributeErrors as explained at https://bugs.python.org/issue9666.