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
Poor documentation of new-style classes #40288
Comments
The Python Reference Manual (info file python-ref) Also, since 'object' is a type, it seems strange This refers to the doc in info-2.3.3.tar.bz2 |
Logged In: YES object() doesn't create a new-style class; it creates an Note that the definition of a new-style class is just a class That said, the distributed documentation should probably have |
Logged In: YES The glossary in the tutorial was added to meet this need. |
Logged In: YES That's a start, but I do think "classic class", "old class", and One obvious (but perhaps not sufficient?) place is the Just change: "For new-style classes, descriptors ..." to: "For new-style classes (those inheriting from object), The language lawyer reference also seems like the right place |
Logged In: YES Index to the language reference, yes. And I think the New-style vs. old-style/classic classes: Maybe you had better also explain here or in section 3.1 |
Logged In: YES This was fixed in revision 41814, when a section |
Logged In: YES Added index entries in 43480. All else seems to be explained |
Logged In: YES Slight typo at http://docs.python.org/dev/ref/node33.html manuel ==> manual The spelling of "flavour" (rather than "flavor") also |
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: