summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnubhav Patel <anubhavp28@gmail.com>2018-01-25 23:09:19 +0530
committerAnubhav Patel <anubhavp28@gmail.com>2018-01-25 23:09:19 +0530
commit629aef6b355e77d8e8046fdf11663fc0a93f748f (patch)
tree7f6e9681b1dab771a36ab838c55b38d1ba79d8c1
parentbcb5270ea6e58837cdff82e86d421f39f95ce571 (diff)
downloadpip-629aef6b355e77d8e8046fdf11663fc0a93f748f.tar.gz
add to __all__
-rw-r--r--src/pip/_internal/compat.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pip/_internal/compat.py b/src/pip/_internal/compat.py
index b5ee37232..a31a569a3 100644
--- a/src/pip/_internal/compat.py
+++ b/src/pip/_internal/compat.py
@@ -24,7 +24,7 @@ except ImportError:
__all__ = [
"ipaddress", "uses_pycache", "console_to_str", "native_str",
- "get_path_uid", "stdlib_pkgs", "WINDOWS", "samefile",
+ "get_path_uid", "stdlib_pkgs", "WINDOWS", "samefile", "get_terminal_size",
]
@@ -196,7 +196,7 @@ def samefile(file1, file2):
if sys.version_info >= (3, 3):
- """Returns a tuple (x, y) representing the width(x) and the height(x)
+ """Returns a tuple (x, y) representing the width(x) and the height(y)
in characters of the terminal window."""
def get_terminal_size():
cr = shutil.get_terminal_size()