diff options
author | Raymond Hettinger <python@rcn.com> | 2003-03-17 08:24:35 (GMT) |
---|---|---|
committer | Raymond Hettinger <python@rcn.com> | 2003-03-17 08:24:35 (GMT) |
commit | 01538269643175877f516d09f429a2ae28136da6 (patch) | |
tree | 3b6bdbf815394deaf883b1409de3520de88959b4 /Misc | |
parent | 08801db123077407ae7ec7af2fe2d65a24a46063 (diff) | |
download | cpython-01538269643175877f516d09f429a2ae28136da6.zip cpython-01538269643175877f516d09f429a2ae28136da6.tar.gz cpython-01538269643175877f516d09f429a2ae28136da6.tar.bz2 |
Created PyObject_GenericGetIter().
Factors out the common case of returning self.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -86,6 +86,9 @@ Build C API ----- +- Added PyObject_GenericGetIter() to fill the tp_iter slot for the + typical case where the method returns its self argument. + - The extended type structure used for heap types (new-style classes defined by Python code using a class statement) is now exported from object.h as PyHeapTypeObject. (SF patch #696193.) |