summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuido van Rossum <guido@python.org>1998-08-10 20:13:17 (GMT)
committerGuido van Rossum <guido@python.org>1998-08-10 20:13:17 (GMT)
commit2b427c74e1a55a699de38649128240fcd7a5ffc9 (patch)
tree69de11b786bd51a454003ea7babc2c7b424ab0f6
parent27d445f59eb773f23d499e547cb681036844145e (diff)
downloadcpython-2b427c74e1a55a699de38649128240fcd7a5ffc9.zip
cpython-2b427c74e1a55a699de38649128240fcd7a5ffc9.tar.gz
cpython-2b427c74e1a55a699de38649128240fcd7a5ffc9.tar.bz2
Nannified.
-rw-r--r--Lib/lib-tk/tkColorChooser.py5
1 files changed, 2 insertions, 3 deletions
diff --git a/Lib/lib-tk/tkColorChooser.py b/Lib/lib-tk/tkColorChooser.py
index 36df25b..5756275 100644
--- a/Lib/lib-tk/tkColorChooser.py
+++ b/Lib/lib-tk/tkColorChooser.py
@@ -60,8 +60,8 @@ def askcolor(color = None, **options):
"Ask for a color"
if color:
- options = options.copy()
- options["initialcolor"] = color
+ options = options.copy()
+ options["initialcolor"] = color
return apply(Chooser, (), options).show()
@@ -72,4 +72,3 @@ def askcolor(color = None, **options):
if __name__ == "__main__":
print "color", askcolor()
-