summaryrefslogtreecommitdiff
path: root/Lib/lib-tk/tkColorChooser.py
diff options
context:
space:
mode:
Diffstat (limited to 'Lib/lib-tk/tkColorChooser.py')
-rw-r--r--Lib/lib-tk/tkColorChooser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/lib-tk/tkColorChooser.py b/Lib/lib-tk/tkColorChooser.py
index 5756275732..77e856bce7 100644
--- a/Lib/lib-tk/tkColorChooser.py
+++ b/Lib/lib-tk/tkColorChooser.py
@@ -48,7 +48,7 @@ class Chooser(Dialog):
# to simplify application code, the color chooser returns
# an RGB tuple together with the Tk color string
if not result:
- return None, None # cancelled
+ return None, None # canceled
r, g, b = widget.winfo_rgb(result)
return (r/256, g/256, b/256), result