mirror of
https://github.com/python/cpython.git
synced 2025-11-02 19:12:55 +00:00
Update a comment.
This commit is contained in:
parent
179048fc5d
commit
698c14936a
1 changed files with 4 additions and 2 deletions
|
|
@ -5,6 +5,8 @@ import os
|
||||||
import Main
|
import Main
|
||||||
import ColorDB
|
import ColorDB
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
class Chooser:
|
class Chooser:
|
||||||
"""Ask for a color"""
|
"""Ask for a color"""
|
||||||
def __init__(self,
|
def __init__(self,
|
||||||
|
|
@ -54,8 +56,8 @@ class Chooser:
|
||||||
# check to see if the cancel button was pushed
|
# check to see if the cancel button was pushed
|
||||||
if self.__sb.canceled_p():
|
if self.__sb.canceled_p():
|
||||||
return None, None
|
return None, None
|
||||||
# try to return the color name from the database if there is an exact
|
# Try to return the color name from the database if there is an exact
|
||||||
# match, otherwise use the "#rrggbb" spec. TBD: Forget about color
|
# match, otherwise use the "#rrggbb" spec. BAW: Forget about color
|
||||||
# aliases for now, maybe later we should return these too.
|
# aliases for now, maybe later we should return these too.
|
||||||
name = None
|
name = None
|
||||||
if not self.__wantspec:
|
if not self.__wantspec:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue