summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorapnadkarni <apnmbx-wits@yahoo.com>2024-08-12 09:54:34 (GMT)
committerapnadkarni <apnmbx-wits@yahoo.com>2024-08-12 09:54:34 (GMT)
commit1442d3700a6bff87b359b8e62db429774e639bd3 (patch)
tree41b96f6e0c43e75475308ab64031a4b11aecc0b6 /doc
parentb00dab5c2f31140928aced9e578ce933c07acac0 (diff)
parent608561d8ac5dc726282c62e6db20fc6fcb896217 (diff)
downloadtcl-1442d3700a6bff87b359b8e62db429774e639bd3.zip
tcl-1442d3700a6bff87b359b8e62db429774e639bd3.tar.gz
tcl-1442d3700a6bff87b359b8e62db429774e639bd3.tar.bz2
Merged trunk
Diffstat (limited to 'doc')
-rw-r--r--doc/class.n7
-rw-r--r--doc/interp.n1
2 files changed, 6 insertions, 2 deletions
diff --git a/doc/class.n b/doc/class.n
index 1f4c774..22aad24 100644
--- a/doc/class.n
+++ b/doc/class.n
@@ -86,8 +86,11 @@ resolved within the calling context's namespace if not fully qualified),
passing the arguments, \fIarg ...\fR, to the constructor, and (if that returns
a successful result) returning the fully qualified name of the created object
(the result of the constructor is ignored). The name of the instance's
-internal namespace will be \fInsName\fR unless that namespace already exists
-(when an arbitrary name will be chosen instead). If the constructor fails
+internal namespace will be \fInsName\fR;
+.VS
+it is an error if that namespace cannot be created.
+.VE
+If the constructor fails
(i.e., returns a non-OK result) then the object is destroyed and the error
message is the result of this method call.
.SH EXAMPLES
diff --git a/doc/interp.n b/doc/interp.n
index 36eb99b..5e0e99c 100644
--- a/doc/interp.n
+++ b/doc/interp.n
@@ -644,6 +644,7 @@ built-in commands:
\fBsubst\fR \fBswitch\fR \fBtell\fR \fBtime\fR
\fBtrace\fR \fBunset\fR \fBupdate\fR \fBuplevel\fR
\fBupvar\fR \fBvariable\fR \fBvwait\fR \fBwhile\fR
+\fBzlib\fR
.DE
The following commands are hidden by \fBinterp create\fR when it
creates a safe interpreter: