From bc9dde3ece910791e5699b5bdd574f4f862c7aad Mon Sep 17 00:00:00 2001
From: Kaushik Kulkarni <kaushikcfd@gmail.com>
Date: Thu, 15 Oct 2020 11:32:56 -0500
Subject: [PATCH] annotate the types for pytools.product

---
 pytools/__init__.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/pytools/__init__.py b/pytools/__init__.py
index 7f88a5e..0dc6622 100644
--- a/pytools/__init__.py
+++ b/pytools/__init__.py
@@ -1049,7 +1049,7 @@ def partition2(iterable):
     return part_true, part_false
 
 
-def product(iterable):
+def product(iterable: Iterable[Any]) -> Any:
     from operator import mul
     return reduce(mul, iterable, 1)
 
-- 
GitLab