@@ -2597,10 +2597,10 @@ def curselection(self):
25972597 return self .tk .splitlist (self .tk .call (
25982598 self ._w , 'curselection' ))
25992599 def delete (self , first , last = None ):
2600- """Delete items from FIRST to LAST (not included)."""
2600+ """Delete items from FIRST to LAST (included)."""
26012601 self .tk .call (self ._w , 'delete' , first , last )
26022602 def get (self , first , last = None ):
2603- """Get list of items from FIRST to LAST (not included)."""
2603+ """Get list of items from FIRST to LAST (included)."""
26042604 if last :
26052605 return self .tk .splitlist (self .tk .call (
26062606 self ._w , 'get' , first , last ))
@@ -2634,7 +2634,7 @@ def selection_anchor(self, index):
26342634 self .tk .call (self ._w , 'selection' , 'anchor' , index )
26352635 select_anchor = selection_anchor
26362636 def selection_clear (self , first , last = None ):
2637- """Clear the selection from FIRST to LAST (not included)."""
2637+ """Clear the selection from FIRST to LAST (included)."""
26382638 self .tk .call (self ._w ,
26392639 'selection' , 'clear' , first , last )
26402640 select_clear = selection_clear
@@ -2644,7 +2644,7 @@ def selection_includes(self, index):
26442644 self ._w , 'selection' , 'includes' , index ))
26452645 select_includes = selection_includes
26462646 def selection_set (self , first , last = None ):
2647- """Set the selection from FIRST to LAST (not included) without
2647+ """Set the selection from FIRST to LAST (included) without
26482648 changing the currently selected elements."""
26492649 self .tk .call (self ._w , 'selection' , 'set' , first , last )
26502650 select_set = selection_set
0 commit comments