Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
C
cpython
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
cpython
Commits
698c1493
Commit
698c1493
authored
Jul 10, 2001
by
Barry Warsaw
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update a comment.
parent
179048fc
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
2 deletions
+4
-2
Tools/pynche/pyColorChooser.py
Tools/pynche/pyColorChooser.py
+4
-2
No files found.
Tools/pynche/pyColorChooser.py
View file @
698c1493
...
...
@@ -5,6 +5,8 @@ import os
import
Main
import
ColorDB
class
Chooser
:
"""Ask for a color"""
def
__init__
(
self
,
...
...
@@ -54,8 +56,8 @@ class Chooser:
# check to see if the cancel button was pushed
if
self
.
__sb
.
canceled_p
():
return
None
,
None
#
t
ry to return the color name from the database if there is an exact
# match, otherwise use the "#rrggbb" spec.
TBD
: Forget about color
#
T
ry to return the color name from the database if there is an exact
# match, otherwise use the "#rrggbb" spec.
BAW
: Forget about color
# aliases for now, maybe later we should return these too.
name
=
None
if
not
self
.
__wantspec
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment