<p>Thanks both, consider me undoubted. </p>
<div class="gmail_quote">On Jul 26, 2011 5:20 PM, "Masklinn" <<a href="mailto:masklinn@masklinn.net">masklinn@masklinn.net</a>> wrote:<br type="attribution">> <br>> On 2011-07-26, at 07:50 , Nick Coghlan wrote:<br>
> <br>>> On Tue, Jul 26, 2011 at 2:36 PM, Matt Joiner <<a href="mailto:anacrolix@gmail.com">anacrolix@gmail.com</a>> wrote:<br>>>> Just as a slight aside, is the special case of type() purely for convenience?<br>
>>> Aren't the "new-style" ways to do this __class__ and isinstance()?<br>>> <br>>> Not really - all three do different things:<br>>> <br>>> 1. type(x) always gives you the true metaclass of x<br>
> The true *class*, I think. Although type(type(x)) should give you x's metaclass.<br>> <br></div>