Skip to content

Commit

Permalink
Fix sphinx warning about lazy_property (#353)
Browse files Browse the repository at this point in the history
  • Loading branch information
fritzo authored Aug 16, 2020
1 parent c944c23 commit 769b04a
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions funsor/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -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):
"""
Expand Down

0 comments on commit 769b04a

Please sign in to comment.