If object has a getdoc() method, override its normal docstring. #1072

Merged
merged 4 commits into from Dec 6, 2011