In Python how to construct a str for help(object)
<p>I need a str object created out of the text displayed in help(some_object).
simply typecasting to str doesn't work.</p>

<pre><code>&gt;&gt;&gt; s = str(help(object))
&gt;&gt;&gt; print s
None
</code></pre>

<p>Whats the correct way to do this ?</p>
