Skip to content

Commit

Permalink
Fixed Python <3.5 issue import RecursionError (#3073)
Browse files Browse the repository at this point in the history
  • Loading branch information
philippjfr authored and jlstevens committed Oct 10, 2018
1 parent e6199c3 commit 255d50c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion holoviews/core/util.py
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_info.minor > 4 else RuntimeError # noqa
else:
basestring = basestring
unicode = unicode
Expand Down

0 comments on commit 255d50c

Please sign in to comment.