From bec08fd7f9d250f245c2e7256b03bddc06080f93 Mon Sep 17 00:00:00 2001 From: Andreas Kloeckner Date: Mon, 7 Dec 2020 18:14:57 -0600 Subject: [PATCH] Bring back any, all temporarily --- pytools/__init__.py | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/pytools/__init__.py b/pytools/__init__.py index acefe33..bb7994c 100644 --- a/pytools/__init__.py +++ b/pytools/__init__.py @@ -31,6 +31,7 @@ import sys import logging from typing import ( Any, Callable, Dict, Iterable, List, Optional, Set, Tuple, TypeVar) +import builtins from sys import intern @@ -39,6 +40,11 @@ from sys import intern decorator_module = __import__("decorator", level=0) my_decorator = decorator_module.decorator +# These are deprecated and will go away in 2022. +all = builtins.all +any = builtins.any + + __doc__ = """ A Collection of Utilities ========================= -- GitLab