diff options
| author | dkf <donal.k.fellows@manchester.ac.uk> | 2024-05-23 13:21:45 (GMT) |
|---|---|---|
| committer | dkf <donal.k.fellows@manchester.ac.uk> | 2024-05-23 13:21:45 (GMT) |
| commit | 148a93eca5418958ee6793d228cc0ce59048c703 (patch) | |
| tree | 57ab94d21b32b2549b5303eeb1900cdf1ce8a90c | |
| parent | 96cadb160c3649286cdc5c6ab2ce860c445e6c62 (diff) | |
| download | tcl-148a93eca5418958ee6793d228cc0ce59048c703.zip tcl-148a93eca5418958ee6793d228cc0ce59048c703.tar.gz tcl-148a93eca5418958ee6793d228cc0ce59048c703.tar.bz2 | |
Clarify docs
| -rw-r--r-- | doc/class.n | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/doc/class.n b/doc/class.n index 198ae41..b68af5d 100644 --- a/doc/class.n +++ b/doc/class.n @@ -83,8 +83,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 |
