From 5698776d046ce9a21c4ba7ff39a93c6d37e92c9d Mon Sep 17 00:00:00 2001 From: Kaushik Kulkarni <kaushikcfd@gmail.com> Date: Mon, 21 Jun 2021 00:18:04 -0500 Subject: [PATCH] minor: gets rid of unnecessary docs, makes type of PytatoArrayContext.compile more precise --- arraycontext/impl/__init__.py | 4 ---- arraycontext/impl/pytato/__init__.py | 2 +- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/arraycontext/impl/__init__.py b/arraycontext/impl/__init__.py index 828e834..ac0e47a 100644 --- a/arraycontext/impl/__init__.py +++ b/arraycontext/impl/__init__.py @@ -1,7 +1,3 @@ -"""Various (undocumented) helper functions to avoid creating dependencies -on other packages (such as pyopencl or meshmode). -""" - __copyright__ = """ Copyright (C) 2020-1 University of Illinois Board of Trustees """ diff --git a/arraycontext/impl/pytato/__init__.py b/arraycontext/impl/pytato/__init__.py index e42da63..a18bd9f 100644 --- a/arraycontext/impl/pytato/__init__.py +++ b/arraycontext/impl/pytato/__init__.py @@ -126,7 +126,7 @@ class PytatoPyOpenCLArrayContext(ArrayContext): # }}} - def compile(self, f: Callable[[Any], Any]) -> Callable[..., Any]: + def compile(self, f: Callable[..., Any]) -> Callable[..., Any]: from arraycontext.impl.pytato.compile import PytatoCompiledOperator return PytatoCompiledOperator(self, f) -- GitLab