summaryrefslogtreecommitdiffstats
path: root/generic/tclStringObj.c
diff options
context:
space:
mode:
authorjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-26 19:26:11 (GMT)
committerjan.nijtmans <nijtmans@users.sourceforge.net>2022-09-26 19:26:11 (GMT)
commitdd1dc3c6e807176799c1fee7ea75c5f29775da8c (patch)
tree3c3ab8dda51122d9c4c87dd4fe6b2263fa3c205f /generic/tclStringObj.c
parentcc185b1d763af5b2a80b5fc5c25fb2f0c69d0661 (diff)
parent3636d805fcf6da495f444297a7159347ff1ed3a0 (diff)
downloadtcl-dd1dc3c6e807176799c1fee7ea75c5f29775da8c.zip
tcl-dd1dc3c6e807176799c1fee7ea75c5f29775da8c.tar.gz
tcl-dd1dc3c6e807176799c1fee7ea75c5f29775da8c.tar.bz2
Merge 8.7
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.