Mercurial > cpython-lru_cache-weakref
diff Python/bltinmodule.c @ 30865:41c4e143e6e6 legacy-trunk
Implement and apply PEP 322, reverse iteration
| author | Raymond Hettinger <python@rcn.com> |
|---|---|
| date | Thu, 06 Nov 2003 14:06:48 +0000 |
| parents | 37285a0346c1 |
| children | 54ff68e973ee |
line wrap: on
line diff
--- a/Python/bltinmodule.c Wed Nov 05 23:03:00 2003 +0000 +++ b/Python/bltinmodule.c Thu Nov 06 14:06:48 2003 +0000 @@ -2121,6 +2121,7 @@ SETBUILTIN("list", &PyList_Type); SETBUILTIN("long", &PyLong_Type); SETBUILTIN("object", &PyBaseObject_Type); + SETBUILTIN("reversed", &PyReversed_Type); SETBUILTIN("slice", &PySlice_Type); SETBUILTIN("staticmethod", &PyStaticMethod_Type); SETBUILTIN("str", &PyString_Type);
