Commit 7dd9ce57 authored by Jim Fulton's avatar Jim Fulton

Added the iterator type to the module dict so that it can be imported.

parent 488546b4
......@@ -378,7 +378,7 @@ static char BTree_module_documentation[] =
"\n"
MASTER_ID
BTREEITEMSTEMPLATE_C
"$Id: BTreeModuleTemplate.c,v 1.39 2004/01/14 19:16:46 jeremy Exp $\n"
"$Id: BTreeModuleTemplate.c,v 1.40 2004/02/21 12:28:52 jim Exp $\n"
BTREETEMPLATE_C
BUCKETTEMPLATE_C
KEYMACROS_H
......@@ -485,4 +485,7 @@ INITMODULE (void)
if (PyDict_SetItemString(d, MOD_NAME_PREFIX "TreeSet",
(PyObject *)&TreeSetType) < 0)
return;
if (PyDict_SetItemString(d, MOD_NAME_PREFIX "TreeIterator",
(PyObject *)&BTreeIter_Type) < 0)
return;
}
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment