Skip to content

Commit

Permalink
Fixed Python <3.5 issue import RecursionError
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr committed Oct 10, 2018
1 parent aae1590 commit 7503648
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/util.py
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,7 @@ def deephash(obj):
unicode = str
long = int
generator_types = (zip, range, types.GeneratorType)
RecursionError = RecursionError # noqa
RecursionError = RecursionError if sys.version.minor > 4 else RuntimeError # noqa
else:
basestring = basestring
unicode = unicode
Expand Down

0 comments on commit 7503648

Please sign in to comment.