mirror of
https://github.com/httpie/cli.git
synced 2026-06-20 11:32:56 +02:00
Added docstrings, refactored input.
This commit is contained in:
1 parent
f26f2f1438
commit
f45cc0eec0
8 files changed
+129
-101
No files matched your search
@@ -4,6 +4,12 @@ from requests.compat import urlparse, is_windows
|
||||
|
||||
|
||||
class Environment(object):
|
||||
"""Holds information about the execution context.
|
||||
|
||||
Groups various aspects of the environment in a changeable object
|
||||
and allows for mocking.
|
||||
|
||||
"""
|
||||
stdin_isatty = sys.stdin.isatty()
|
||||
stdin = sys.stdin
|
||||
|
||||
|
||||
Reference in new issue
Block a user