summaryrefslogtreecommitdiffstats
path: root/doc/namespace.n
diff options
context:
space:
mode:
authordgp <dgp@users.sourceforge.net>2008-09-26 19:36:47 (GMT)
committerdgp <dgp@users.sourceforge.net>2008-09-26 19:36:47 (GMT)
commited14e02fc83fc5a7dab826db93ce7e2d4e276a96 (patch)
tree3de038aa9224dde36f236ff723ee9f565ca49c9a /doc/namespace.n
parent7a8e8db83501823dbe441944d6107f249accb2e8 (diff)
downloadtcl-ed14e02fc83fc5a7dab826db93ce7e2d4e276a96.zip
tcl-ed14e02fc83fc5a7dab826db93ce7e2d4e276a96.tar.gz
tcl-ed14e02fc83fc5a7dab826db93ce7e2d4e276a96.tar.bz2
TIP #323 IMPLEMENTATION (partial)
* doc/namespace.n: Revise [namespace upvar] to accept zero * generic/tclNamesp.c: variable names. * tests/upvar.test:
Diffstat (limited to 'doc/namespace.n')
-rw-r--r--doc/namespace.n6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/namespace.n b/doc/namespace.n
index 0450659..f2bc686 100644
--- a/doc/namespace.n
+++ b/doc/namespace.n
@@ -7,7 +7,7 @@
'\" See the file "license.terms" for information on usage and redistribution
'\" of this file, and for a DISCLAIMER OF ALL WARRANTIES.
'\"
-'\" RCS: @(#) $Id: namespace.n,v 1.32 2008/09/07 14:01:54 msofer Exp $
+'\" RCS: @(#) $Id: namespace.n,v 1.33 2008/09/26 19:36:50 dgp Exp $
'\"
.so man.macros
.TH namespace n 8.5 Tcl "Tcl Built-In Commands"
@@ -278,9 +278,9 @@ This command is the complement of the \fBnamespace qualifiers\fR command.
It does not check whether the namespace names are, in fact,
the names of currently defined namespaces.
.TP
-\fBnamespace upvar\fR \fInamespace\fR \fIotherVar myVar \fR?\fIotherVar myVar \fR...
+\fBnamespace upvar\fR \fInamespace\fR ?\fIotherVar myVar \fR...
.
-This command arranges for one or more local variables in the current
+This command arranges for zero or more local variables in the current
procedure to refer to variables in \fInamespace\fR. The namespace name is
resolved as described in section \fBNAME RESOLUTION\fR.
The command