From 769b04add4f5c9340a5216c428543768806a608e Mon Sep 17 00:00:00 2001 From: Fritz Obermeyer Date: Sun, 16 Aug 2020 13:21:57 -0700 Subject: [PATCH] Fix sphinx warning about lazy_property (#353) --- funsor/util.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/funsor/util.py b/funsor/util.py index 3b45b00ab..7bfdcc803 100644 --- a/funsor/util.py +++ b/funsor/util.py @@ -24,6 +24,10 @@ def __get__(self, obj, objtype=None): setattr(obj, self.fn.__name__, value) return value + # This is needed to pacify sphinx. + def __call__(self): + raise ValueError + def getargspec(fn): """