<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">
> I mostly use the dis module for quick-n-dirty exploration of the results of<br>
> compilation into bytecode, and I'm sure many people use for the same effect.<br>
> Thus show_code seems like a convenient shortcut, although not a necessary<br>
> one. The string returned by code_info isn't interactive-shell friendly, and<br>
> show_code saves the print(...).<br>
><br>
> Personally I think that if it's there, it should be documented. If it's<br>
> better not to use it, it should be removed or at least marked deprecated in<br>
> 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>