summaryrefslogtreecommitdiffstats
path: root/library/msgcat
diff options
context:
space:
mode:
authoroehhar <harald.oehlmann@elmicron.de>2018-03-13 14:53:16 (GMT)
committeroehhar <harald.oehlmann@elmicron.de>2018-03-13 14:53:16 (GMT)
commit962427e8cd982fd685ca30f221083da2e7b62cea (patch)
tree448d9b5799d0eb30a6d8e68d7951736285acc9c0 /library/msgcat
parent2ae2445072e3f52e56fa916fae2fbb21ac5629d0 (diff)
downloadtcl-962427e8cd982fd685ca30f221083da2e7b62cea.zip
tcl-962427e8cd982fd685ca30f221083da2e7b62cea.tar.gz
tcl-962427e8cd982fd685ca30f221083da2e7b62cea.tar.bz2
tip490 oo for msgcat: added documentation
Diffstat (limited to 'library/msgcat')
-rw-r--r--library/msgcat/msgcat.tcl4
1 files changed, 2 insertions, 2 deletions
diff --git a/library/msgcat/msgcat.tcl b/library/msgcat/msgcat.tcl
index 50a9064..100f425 100644
--- a/library/msgcat/msgcat.tcl
+++ b/library/msgcat/msgcat.tcl
@@ -4,7 +4,7 @@
# message catalog facility for Tcl programs. It should be
# loaded with the command "package require msgcat".
#
-# Copyright (c) 2010-2015 by Harald Oehlmann.
+# Copyright (c) 2010-2018 by Harald Oehlmann.
# Copyright (c) 1998-2000 by Ajuba Solutions.
# Copyright (c) 1998 by Mark Harrison.
#
@@ -1218,7 +1218,7 @@ proc msgcat::mcutil::ConvertLocale {value} {
# - called from a classless oo object
proc ::msgcat::PackageNamespaceGet {} {
uplevel 2 {
- # Check for no object
+ # Check self namespace to determine environment
switch -exact -- [namespace which self] {
{::oo::define::self} {
# We are within a class definition