better import examples

This commit is contained in:
Kenneth Reitz
2011-03-20 12:49:40 -04:00
parent 78405d560c
commit e3d06334c8
+4
View File
@@ -27,6 +27,8 @@ Example
I want to indent my console text. ::
>>> from clint.textui import puts, indent
>>> puts('not indented text')
>>> with indent(4):
>>> puts('indented text')
@@ -45,6 +47,8 @@ I want to quote my console text (like email). ::
I want to color my console text. ::
>>> from clint.textui import colored
>>> puts(colored.red('red text'))
red text