diff options
author | dgp <dgp@users.sourceforge.net> | 2022-09-21 18:38:51 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2022-09-21 18:38:51 (GMT) |
commit | 9babdebe9d5537c0026d149ca8810b9ffad51d0d (patch) | |
tree | 9e18616f0d65948dd9dc92ca3aa7fb01dbe6ad3d /generic/tclStringObj.c | |
parent | 159cb3d31d8b70d7ef29798372421c08c9274a85 (diff) | |
download | tcl-9babdebe9d5537c0026d149ca8810b9ffad51d0d.zip tcl-9babdebe9d5537c0026d149ca8810b9ffad51d0d.tar.gz tcl-9babdebe9d5537c0026d149ca8810b9ffad51d0d.tar.bz2 |
Update docs and comments to agree with TIP 623.
Diffstat (limited to 'generic/tclStringObj.c')
-rw-r--r-- | generic/tclStringObj.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/generic/tclStringObj.c b/generic/tclStringObj.c index b81e711..b109808 100644 --- a/generic/tclStringObj.c +++ b/generic/tclStringObj.c @@ -739,7 +739,9 @@ Tcl_GetUnicodeFromObj( * * 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. |