OrderedDictionary.st
changeset 24349 c660ae249716
parent 24348 f6fb3ad93210
child 24363 3188fbab129f
--- a/OrderedDictionary.st	Mon Jun 24 12:48:43 2019 +0200
+++ b/OrderedDictionary.st	Mon Jun 24 12:49:50 2019 +0200
@@ -1065,12 +1065,13 @@
 !
 
 removeIndex:anInteger
-    "remove the entry at an index.
-     Returns the receiver"
+    "remove an element from the receiver.
+     Return the removed element.
+     Raise an error if the index is invalid"
 
     self removeFromIndex:anInteger toIndex:anInteger.
 
-    "Modified (comment): / 24-06-2019 / 12:47:50 / Claus Gittinger"
+    "Modified (comment): / 24-06-2019 / 12:49:44 / Claus Gittinger"
 !
 
 removeKey:aKey