This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: Python/C PyClass_* are not documented
Type: Stage:
Components: Documentation Versions: Python 2.6
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: Nosy List: collinwinter, tvainika
Priority: normal Keywords:

Created on 2007-03-26 11:24 by tvainika, last changed 2022-04-11 14:56 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
concrete.tex.diff collinwinter, 2007-03-30 03:24
Messages (5)
msg31648 - (view) Author: Tommi Vainikainen (tvainika) Date: 2007-03-26 11:24
Python/C API Reference Manual chapter 7.5 Other Objects does not contain subchapter for Class objects, but only Instance objects and many other are documented there.

From header I can find that at least PyClass_Check and PyClass_New exist, I just don't know what those do until I take time to read source code... :(
msg31649 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2007-03-30 03:24
Take a look at the attached patch and see if that says what you want.
File Added: concrete.tex.diff
msg31650 - (view) Author: Tommi Vainikainen (tvainika) Date: 2007-03-30 07:58
Looks good for me. Actually the first pointer to new-style classes is the most important I think... :) (which I found out by myself after reporting this bug)
msg31651 - (view) Author: Tommi Vainikainen (tvainika) Date: 2007-03-30 12:31
Actually one more thing: I think that chapter 7.5.2 Instance Objects would need also similar note about being relevant only for old-style classes. (At least I think it is only relevant for old style classes.)
msg31652 - (view) Author: Collin Winter (collinwinter) * (Python committer) Date: 2007-03-30 14:02
I'll add a note to the docs for instance objects.

Fixed in r54614. Thanks, Tommi.
History
Date User Action Args
2022-04-11 14:56:23adminsetgithub: 44772
2007-03-26 11:24:40tvainikacreate