Skip to content

Commit

Permalink
fget cannot be None
Browse files Browse the repository at this point in the history
  • Loading branch information
ifduyue committed Aug 5, 2023
1 parent f0dc3a6 commit 7dd7dec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion urlfetch.py
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ class cached_property(object):
property.
"""

def __init__(self, fget=None, fset=None, fdel=None, doc=None):
def __init__(self, fget, fset=None, fdel=None, doc=None):
self.__get = fget
self.__set = fset
self.__del = fdel
Expand Down

0 comments on commit 7dd7dec

Please sign in to comment.