You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/dev-python/quex/files/quex-0.71.0-py37.patch

12 lines
604 B

--- a/quex/input/code/base.py 2020-08-17 11:27:16.948578316 +0200
+++ b/quex/input/code/base.py 2020-08-17 11:27:27.604426654 +0200
@@ -123,7 +123,7 @@
def set_source_reference(self, SourceReference):
self.__source_reference = SourceReference
- @typed(Re=re._pattern_type)
+ @typed(Re=re.Pattern)
def contains_string(self, Re): return self.__check_code(lambda x: Re.search(x) is not None)
def is_empty(self): return not self.__check_code(lambda x: len(x) != 0)
def is_whitespace(self): return not self.__check_code(lambda x: len(x.strip()) != 0)