Skip to content

Commit

Permalink
testutils.tcl [createStdAccessProc]: simplify handling of namespaces
Browse files Browse the repository at this point in the history
  • Loading branch information
1minus1is0 committed Jan 11, 2025
1 parent d8f3ac2 commit 2dfde7b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testutils.tcl
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ namespace eval tk {
# get and set methods.
#
proc createStdAccessProc {varName} {
namespace eval [uplevel 1 {namespace current}] [subst -nocommands {
uplevel 1 [subst -nocommands {
proc $varName {subcmd {value ""}} {
variable $varName
switch -- \$subcmd {
Expand Down

0 comments on commit 2dfde7b

Please sign in to comment.