diff options
Diffstat (limited to 're-3.7.patch')
-rw-r--r-- | re-3.7.patch | 16 |
1 files changed, 0 insertions, 16 deletions
diff --git a/re-3.7.patch b/re-3.7.patch deleted file mode 100644 index c5612a94028a..000000000000 --- a/re-3.7.patch +++ /dev/null @@ -1,16 +0,0 @@ ---- parameterized.py 2018-07-09 16:01:40.000000000 +0200 -+++ src/paramz-0.9.2/paramz/parameterized.py 2018-08-06 22:40:27.675879464 +0200 -@@ -29,7 +29,12 @@ - #=============================================================================== - - import numpy; np = numpy --from re import compile, _pattern_type -+from re import compile -+try: -+ from re import _pattern_type -+except ImportError: -+ from re import Pattern -+ _pattern_type = Pattern - - from .core.parameter_core import Parameterizable, adjust_name_for_printing - from .core import HierarchyError |