Skip to content

Commit

Permalink
make the python 3.11.9 fix safer
Browse files Browse the repository at this point in the history
  • Loading branch information
rjzamora committed Apr 4, 2024
1 parent daeb64b commit 5a496e4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dask/dataframe/accessor.py
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ def func(self):
elif isinstance(original_prop, functools.cached_property):
method = original_prop.func
else:
raise TypeError("bind_property expects original class to provide a property")
method = original_prop
try:
func.__wrapped__ = method
except Exception:
Expand Down

0 comments on commit 5a496e4

Please sign in to comment.