mirror of
https://github.com/python/cpython.git
synced 2025-09-17 22:20:23 +00:00
Expand tabs.
This commit is contained in:
parent
f64700a512
commit
babc5ec630
1 changed files with 1 additions and 1 deletions
|
@ -91,7 +91,7 @@ class Font:
|
||||||
raise Tkinter._tkinter.TclError, "named font %s does not already exist" % (self.name,)
|
raise Tkinter._tkinter.TclError, "named font %s does not already exist" % (self.name,)
|
||||||
# if font config info supplied, apply it
|
# if font config info supplied, apply it
|
||||||
if font:
|
if font:
|
||||||
print "font=%r" % font
|
print "font=%r" % font
|
||||||
root.tk.call("font", "configure", self.name, *font)
|
root.tk.call("font", "configure", self.name, *font)
|
||||||
else:
|
else:
|
||||||
# create new font (raises TclError if the font exists)
|
# create new font (raises TclError if the font exists)
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue