Add textui streams to __all__

So that I could write

    from clint import textui as ui
    ui.puts(ui.colored.red('fatal error'), stream=ui.STDERR)
This commit is contained in:
Dmitry Medvinsky
2012-05-23 13:52:20 +04:00
parent acdddbabea
commit 464849e575
2 changed files with 2 additions and 1 deletions
+1
View File
@@ -23,3 +23,4 @@ Patches and Suggestions
- Gianluca Brindisi <gbrindisi>
- Don Spaulding <donspauldingii@gmail.com>
- Justin Barber <barber.justin (at) gmail>
- Dmitry Medvinsky
+1 -1
View File
@@ -21,7 +21,7 @@ from ..utils import tsplit
__all__ = ('puts', 'puts_err', 'indent', 'dedent', 'columns', 'max_width',
'min_width')
'min_width', 'STDOUT', 'STDERR')
STDOUT = sys.stdout.write