summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r--generic/tclStringObj.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c
index 7ce1cdc..25bf34b 100644
--- a/generic/tclStringObj.c
+++ b/generic/tclStringObj.c
@@ -1013,7 +1013,9 @@ TclGetUnicodeFromObj(
*
* Create a Tcl Object that contains the chars between first and last of
* the object indicated by "objPtr". If the object is not already a
- * String object, convert it to one.
+ * String object, convert it to one. If first is negative, the returned
+ * string start at the beginning of objPtr. If last is negative, the
+ * returned string ends at the end of objPtr.
*
* Results:
* Returns a new Tcl Object of the String type.