Commits

Guido van Rossum  committed ac65db2

Change _nametowidget to nametowidget -- it is a public interface.

  • Participants
  • Parent commits 416c795
  • Branches legacy-trunk

Comments (0)

Files changed (1)

File Lib/lib-tk/Tkinter.py

 					v = self._register(v)
 				res = res + ('-'+k, v)
 		return res
-	def _nametowidget(self, name):
+	def nametowidget(self, name):
 		w = self
 		if name[0] == '.':
 			w = w._root()
 			w = w.children[name]
 			name = tail
 		return w
+	_nametowidget = nametowidget
 	def _register(self, func, subst=None, needcleanup=1):
 		f = CallWrapper(func, subst, self).__call__
 		name = `id(f)`