-
-
Notifications
You must be signed in to change notification settings - Fork 13
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Move
new
and _handle_color_input
to a classmethod
New has no need to have any knowledge of the current color and simply instantiates a new color, it should be a classmethod Internal `_handle_color_input` has no need to be an instance method either.
- Loading branch information
1 parent
2427f7b
commit a3b0f03
Showing
1 changed file
with
8 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters