I'm trying to reference
http://docs.python.org/2.7/reference/datamodel.html#object.__enter__
from my python Sphinx documentation, and would like the link in the documentation to look as it would for a func :func: role if __enter__ were implemented in the current class (i.e, in the same style and simply as __enter__ and not as object.__enter__.
Is there a way to accomplish this?