[Zodb-checkins] SVN: ZODB/branches/alienoid-btrees_pop/src/BTrees/B Changed doc strings a bit.

Ruslan Spivak rspivak at nuxeo.com
Tue Aug 30 16:53:15 EDT 2005


Log message for revision 38169:
  Changed doc strings a bit.

Changed:
  U   ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c
  U   ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c

-=-
Modified: ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c
===================================================================
--- ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c	2005-08-30 20:48:51 UTC (rev 38168)
+++ ZODB/branches/alienoid-btrees_pop/src/BTrees/BTreeTemplate.c	2005-08-30 20:53:15 UTC (rev 38169)
@@ -1927,8 +1927,9 @@
      "returned and inserted into the BTree as the value of k."},
 
     {"pop", (PyCFunction) BTree_pop, METH_VARARGS,
-     "D.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n\n"
-     "If key is not found, d is returned if given, otherwise KeyError is raised."},
+     "D.pop(k[, d]) -> v, remove key and return the corresponding value.\n\n"
+     "If key is not found, d is returned if given, otherwise KeyError\n"
+     "is raised."},
 
     {"maxKey", (PyCFunction) BTree_maxKey,	METH_VARARGS,
      "maxKey([max]) -> key\n\n"

Modified: ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c
===================================================================
--- ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c	2005-08-30 20:48:51 UTC (rev 38168)
+++ ZODB/branches/alienoid-btrees_pop/src/BTrees/BucketTemplate.c	2005-08-30 20:53:15 UTC (rev 38169)
@@ -1571,8 +1571,9 @@
      "returned and inserted into the bucket as the value of k."},
 
     {"pop", (PyCFunction) bucket_pop, METH_VARARGS,
-     "D.pop(k[,d]) -> v, remove specified key and return the corresponding value.\n\n"
-     "If key is not found, d is returned if given, otherwise KeyError is raised."},
+     "D.pop(k[, d]) -> v, remove key and return the corresponding value.\n\n"
+     "If key is not found, d is returned if given, otherwise KeyError\n"
+     "is raised."},
 
     {"iterkeys", (PyCFunction) Bucket_iterkeys,  METH_KEYWORDS,
      "B.iterkeys([min[,max]]) -> an iterator over the keys of B"},



More information about the Zodb-checkins mailing list