summaryrefslogtreecommitdiffstats
path: root/doc/Namespace.3
diff options
context:
space:
mode:
authorbch <brad.harder@gmail.com>2023-05-09 22:36:38 (GMT)
committerbch <brad.harder@gmail.com>2023-05-09 22:36:38 (GMT)
commit909827f9ee205794641dbf212853e4d66aa6c0fe (patch)
treed46c650e2ecd312203bc3d1879f96dcff0a6e218 /doc/Namespace.3
parent293c1ff559bb2245f11faf04805c2dc89e9d8a5b (diff)
downloadtcl-909827f9ee205794641dbf212853e4d66aa6c0fe.zip
tcl-909827f9ee205794641dbf212853e4d66aa6c0fe.tar.gz
tcl-909827f9ee205794641dbf212853e4d66aa6c0fe.tar.bz2
docs: function does not "return an error", it returns TCL_ERROR, indicating an error occured
Diffstat (limited to 'doc/Namespace.3')
-rw-r--r--doc/Namespace.32
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Namespace.3 b/doc/Namespace.3
index c4c893a..d5f7764 100644
--- a/doc/Namespace.3
+++ b/doc/Namespace.3
@@ -133,7 +133,7 @@ is true.
.PP
\fBTcl_Import\fR imports commands matching a pattern into a
namespace. Note that the pattern must include the name of the
-namespace to import from. This function returns an error if
+namespace to import from. This function returns TCL_ERROR if
an attempt to import a command over an existing command is made,
unless the \fIallowOverwrite\fR flag has been set.
.PP