From 83d5ba157ce06ef3f15d8bf91f36fb1cd7cd6d0b Mon Sep 17 00:00:00 2001 From: Ashwini Chaudhary Date: Mon, 3 Jul 2017 09:54:21 +0530 Subject: [PATCH] Added stub for toaiff module (#1455) --- stdlib/2/toaiff.pyi | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 stdlib/2/toaiff.pyi diff --git a/stdlib/2/toaiff.pyi b/stdlib/2/toaiff.pyi new file mode 100644 index 000000000..77334c7f5 --- /dev/null +++ b/stdlib/2/toaiff.pyi @@ -0,0 +1,16 @@ +# Stubs for toaiff (Python 2) + +# Source: https://hg.python.org/cpython/file/2.7/Lib/toaiff.py +from pipes import Template +from typing import Dict, List + + +__all__: List[str] +table: Dict[str, Template] +t: Template +uncompress: Template + +class error(Exception): ... + +def toaiff(filename: str) -> str: ... +def _toaiff(filename: str, temps: List[str]) -> str: ...