<div dir="ltr"><br><div class="gmail_quote"><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;"><div class="im">
&gt; I mostly use the dis module for quick-n-dirty exploration of the results of<br>
&gt; compilation into bytecode, and I&#39;m sure many people use for the same effect.<br>
&gt; Thus show_code seems like a convenient shortcut, although not a necessary<br>
&gt; one. The string returned by code_info isn&#39;t interactive-shell friendly, and<br>
&gt; show_code saves the print(...).<br>
&gt;<br>
&gt; Personally I think that if it&#39;s there, it should be documented. If it&#39;s<br>
&gt; better not to use it, it should be removed or at least marked deprecated in<br>
&gt; the documentation/docstring.<br>
<br>
</div>Yeah, I changed my mind and have now documented it properly. The 3.2<br>
versionadded tag on show_code is currently a little questionable<br>
though. Guido actually checked in the original (undocumented) version<br>
of show_code before 3.0 was released. The only thing new about it in<br>
3.2 is it being mentioned in the documentation.<br></blockquote></div><br>Looks good to me.<br><br>Eli<br><br></div>