diff options
author | dgp <dgp@users.sourceforge.net> | 2019-04-12 20:16:02 (GMT) |
---|---|---|
committer | dgp <dgp@users.sourceforge.net> | 2019-04-12 20:16:02 (GMT) |
commit | bd300c252a395b4098f084ef193b0689c2780c88 (patch) | |
tree | 81f8e91b28c6defc298c50c42a5906e5d1e5db99 /doc | |
parent | f1eba71130bf1b04e9cd0485f4583f13c94eb4ea (diff) | |
parent | 71ae5810dc6d2d626841ee68af71d69df5fd7bd3 (diff) | |
download | tcl-bd300c252a395b4098f084ef193b0689c2780c88.zip tcl-bd300c252a395b4098f084ef193b0689c2780c88.tar.gz tcl-bd300c252a395b4098f084ef193b0689c2780c88.tar.bz2 |
merge 8.7
Diffstat (limited to 'doc')
-rw-r--r-- | doc/define.n | 18 | ||||
-rw-r--r-- | doc/interp.n | 2 |
2 files changed, 13 insertions, 7 deletions
diff --git a/doc/define.n b/doc/define.n index a2b0813..9046203 100644 --- a/doc/define.n +++ b/doc/define.n @@ -284,7 +284,8 @@ this feature for classes requires the definition of a metaclass. This deletes each of the methods called \fIname\fR from a class. The methods must have previously existed in that class. Does not affect the superclasses of the class, nor does it affect the subclasses or instances of the class -(except when they have a call chain through the class being modified). +(except when they have a call chain through the class being modified) or the +class object itself. .TP \fBfilter\fR ?\fI\-slotOperation\fR? ?\fImethodName ...\fR? . @@ -310,7 +311,8 @@ This renames the method called \fIfromName\fR in a class to \fItoName\fR. The method must have previously existed in the class, and \fItoName\fR must not previously refer to a method in that class. Does not affect the superclasses of the class, nor does it affect the subclasses or instances of the class -(except when they have a call chain through the class being modified). Does +(except when they have a call chain through the class being modified), or the +class object itself. Does not change the export status of the method; if it was exported before, it will be afterwards. .SH "CONFIGURING OBJECTS" @@ -436,8 +438,10 @@ well be in an inconsistent state unless additional configuration work is done. \fBdeletemethod\fI name\fR ?\fIname ...\fR . This deletes each of the methods called \fIname\fR from an object. The methods -must have previously existed in that object. Does not affect the classes that -the object is an instance of. +must have previously existed in that object (e.g., because it was created +through \fBoo::objdefine method\fR). Does not affect the classes that the +object is an instance of, or remove the exposure of those class-provided +methods in the instance of that class. .TP \fBfilter\fR ?\fI\-slotOperation\fR? ?\fImethodName ...\fR? . @@ -455,8 +459,10 @@ By default, this slot works by appending. This renames the method called \fIfromName\fR in an object to \fItoName\fR. The method must have previously existed in the object, and \fItoName\fR must not previously refer to a method in that object. Does not affect the classes -that the object is an instance of. Does not change the export status of the -method; if it was exported before, it will be afterwards. +that the object is an instance of and cannot rename in an instance object the +methods provided by those classes (though a \fBoo::objdefine forward\fRed +method may provide an equivalent capability). Does not change the export +status of the method; if it was exported before, it will be afterwards. .TP \fBself \fR .VS TIP470 diff --git a/doc/interp.n b/doc/interp.n index e91e403..40ab9f9 100644 --- a/doc/interp.n +++ b/doc/interp.n @@ -201,7 +201,7 @@ slave interpreter identified by \fIpath\fR. If no arguments are given, option and current setting are returned. If \fB\-frame\fR is given, the debug setting is set to the given boolean if provided and the current setting is returned. -This only effects the output of \fBinfo frame\fR, in that exact +This only affects the output of \fBinfo frame\fR, in that exact frame-level information for command invocation at the bytecode level is only captured with this setting on. .RS |