mirror of
https://github.com/kennethreitz/crayons.git
synced 2026-06-05 23:10:18 +00:00
refactor: move colors out of __all__ into own tuple
This commit is contained in:
+6
-4
@@ -11,11 +11,13 @@ import colorama
|
||||
PY3 = sys.version_info[0] >= 3
|
||||
|
||||
|
||||
__all__ = (
|
||||
COLORS = (
|
||||
'red', 'green', 'yellow', 'blue',
|
||||
'black', 'magenta', 'cyan', 'white',
|
||||
'clean', 'disable', 'enable', 'random',
|
||||
'replace_colors'
|
||||
'black', 'magenta', 'cyan', 'white'
|
||||
)
|
||||
|
||||
__all__ = COLORS + (
|
||||
'normal', 'clean', 'disable', 'enable', 'random', 'replace_colors'
|
||||
)
|
||||
|
||||
colorama.init()
|
||||
|
||||
Reference in New Issue
Block a user