From 42c84f24bb1862bd3e67fba411ef675d91693b4a Mon Sep 17 00:00:00 2001 From: Kenneth Reitz Date: Sun, 20 Mar 2011 13:06:19 -0400 Subject: [PATCH] pipes docs --- clint/pipes.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/clint/pipes.py b/clint/pipes.py index cbeb2b4..99fe2c5 100644 --- a/clint/pipes.py +++ b/clint/pipes.py @@ -5,10 +5,10 @@ import sys __all__ = ('piped_in', ) def piped_in(): - """Returns piped input via stdin, else False.""" + """Returns piped input via stdin, else None.""" with sys.stdin as stdin: # TTY is only way to detect if stdin contains data if not stdin.isatty(): return stdin.read() else: - return None \ No newline at end of file + return None