[Zope-Checkins] CVS: Zope/lib/python/BTrees - BTreeTemplate.c:1.71.8.1 BucketTemplate.c:1.47.8.1 SetTemplate.c:1.15.66.1 TreeSetTemplate.c:1.14.8.1 convert.py:1.6.4.1

Chris McDonough chrism@zope.com
Tue, 8 Oct 2002 14:41:36 -0400


Update of /cvs-repository/Zope/lib/python/BTrees
In directory cvs.zope.org:/tmp/cvs-serv20268/lib/python/BTrees

Modified Files:
      Tag: chrism-install-branch
	BTreeTemplate.c BucketTemplate.c SetTemplate.c 
	TreeSetTemplate.c convert.py 
Log Message:
Merging HEAD into chrism-install-branch.


=== Zope/lib/python/BTrees/BTreeTemplate.c 1.71 => 1.71.8.1 ===
--- Zope/lib/python/BTrees/BTreeTemplate.c:1.71	Fri Jun 28 16:52:30 2002
+++ Zope/lib/python/BTrees/BTreeTemplate.c	Tue Oct  8 14:41:05 2002
@@ -1618,10 +1618,10 @@
    "Return the default (or None) if the key is not found."
   },
   {"maxKey", (PyCFunction) BTree_maxKey,	METH_VARARGS,
-   "maxKey([key]) -- Fine the maximum key\n\n"
+   "maxKey([key]) -- Find the maximum key\n\n"
    "If an argument is given, find the maximum <= the argument"},
   {"minKey", (PyCFunction) BTree_minKey,	METH_VARARGS,
-   "minKey([key]) -- Fine the minimum key\n\n"
+   "minKey([key]) -- Find the minimum key\n\n"
    "If an argument is given, find the minimum >= the argument"},
   {"clear",	(PyCFunction) BTree_clear,	METH_VARARGS,
    "clear() -- Remove all of the items from the BTree"},


=== Zope/lib/python/BTrees/BucketTemplate.c 1.47 => 1.47.8.1 ===
--- Zope/lib/python/BTrees/BucketTemplate.c:1.47	Thu Jun 27 18:09:32 2002
+++ Zope/lib/python/BTrees/BucketTemplate.c	Tue Oct  8 14:41:05 2002
@@ -1305,10 +1305,10 @@
   {"__init__",	(PyCFunction) Mapping_update,	METH_VARARGS,
    "__init__(collection) -- Initialize with items from the given collection"},
   {"maxKey", (PyCFunction) Bucket_maxKey,	METH_VARARGS,
-   "maxKey([key]) -- Fine the maximum key\n\n"
+   "maxKey([key]) -- Find the maximum key\n\n"
    "If an argument is given, find the maximum <= the argument"},
   {"minKey", (PyCFunction) Bucket_minKey,	METH_VARARGS,
-   "minKey([key]) -- Fine the minimum key\n\n"
+   "minKey([key]) -- Find the minimum key\n\n"
    "If an argument is given, find the minimum >= the argument"},
   {"values",	(PyCFunction) bucket_values,	METH_VARARGS,
      "values([min, max]) -- Return the values"},


=== Zope/lib/python/BTrees/SetTemplate.c 1.15 => 1.15.66.1 ===
--- Zope/lib/python/BTrees/SetTemplate.c:1.15	Thu Feb 21 16:41:17 2002
+++ Zope/lib/python/BTrees/SetTemplate.c	Tue Oct  8 14:41:05 2002
@@ -152,10 +152,10 @@
   {"clear",	(PyCFunction) bucket_clear,	METH_VARARGS,
    "clear() -- Remove all of the items from the bucket"},
   {"maxKey", (PyCFunction) Bucket_maxKey,	METH_VARARGS,
-   "maxKey([key]) -- Fine the maximum key\n\n"
+   "maxKey([key]) -- Find the maximum key\n\n"
    "If an argument is given, find the maximum <= the argument"},
   {"minKey", (PyCFunction) Bucket_minKey,	METH_VARARGS,
-   "minKey([key]) -- Fine the minimum key\n\n"
+   "minKey([key]) -- Find the minimum key\n\n"
    "If an argument is given, find the minimum >= the argument"},
 #ifdef PERSISTENT
   {"_p_resolveConflict", (PyCFunction) bucket__p_resolveConflict, METH_VARARGS,


=== Zope/lib/python/BTrees/TreeSetTemplate.c 1.14 => 1.14.8.1 ===
--- Zope/lib/python/BTrees/TreeSetTemplate.c:1.14	Wed Jun 19 19:44:20 2002
+++ Zope/lib/python/BTrees/TreeSetTemplate.c	Tue Oct  8 14:41:05 2002
@@ -99,10 +99,10 @@
   {"keys",	(PyCFunction) BTree_keys,	METH_VARARGS,
      "keys() -- Return the keys"},
   {"maxKey", (PyCFunction) BTree_maxKey,	METH_VARARGS,
-   "maxKey([key]) -- Fine the maximum key\n\n"
+   "maxKey([key]) -- Find the maximum key\n\n"
    "If an argument is given, find the maximum <= the argument"},
   {"minKey", (PyCFunction) BTree_minKey,	METH_VARARGS,
-   "minKey([key]) -- Fine the minimum key\n\n"
+   "minKey([key]) -- Find the minimum key\n\n"
    "If an argument is given, find the minimum >= the argument"},
   {"clear",	(PyCFunction) BTree_clear,	METH_VARARGS,
    "clear() -- Remove all of the items from the BTree"},


=== Zope/lib/python/BTrees/convert.py 1.6 => 1.6.4.1 ===
--- Zope/lib/python/BTrees/convert.py:1.6	Wed Aug 14 17:32:23 2002
+++ Zope/lib/python/BTrees/convert.py	Tue Oct  8 14:41:05 2002
@@ -12,7 +12,7 @@
 #
 ##############################################################################
 
-def convert(old, new, threshold=200, f=None, None=None):
+def convert(old, new, threshold=200, f=None):
     "Utility for converting old btree to new"
     n=0
     for k, v in old.items():