From b10125cd7db35d0fff0a1d92cdecd229259133b8 Mon Sep 17 00:00:00 2001 From: Jelle Zijlstra Date: Wed, 23 Nov 2016 04:14:03 -0800 Subject: [PATCH] commands: add python 2 pyi file (#698) Partially fixes issue #531 --- stdlib/2/commands.pyi | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 stdlib/2/commands.pyi diff --git a/stdlib/2/commands.pyi b/stdlib/2/commands.pyi new file mode 100644 index 000000000..864dbf4ff --- /dev/null +++ b/stdlib/2/commands.pyi @@ -0,0 +1,5 @@ +from typing import Tuple + +def getstatus(file: str) -> str: ... +def getoutput(cmd: str) -> str: ... +def getstatusoutput(cmd: str) -> Tuple[int, str]: ...