New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Obsolete info in Tutorial 9.1 #41176
Comments
In the Tutorial, section 9.1, the second paragraph For a brief discussion on c.l.python see Kent |
Logged In: YES This isn't really obsolete, technically speaking. Types look |
Logged In: YES Instances of builtin types were always just that. So this is
not new. What is new in 2.2 (I think) is that they gained
a .__class__ attribute pointing to the type.
>>> 1 .__class__
<type 'int'> In addition, the builtin types, including type itself, are now >>> issubclass(int, object)
1
>>> int.__bases__
(<type 'object'>,)
>>> int.__class__
<type 'type'> So I think the warning, as now written, is arguably untrue, |
Logged In: YES Zapped the useless and confusing paragraph. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: