Mohamed Wael Alzayat

Results 3 issues of Mohamed Wael Alzayat

Before/After Testing **Setup:** prepare file test_bytes.py based on an instruction in `python3.7/re.py` as follows: ``` _special_chars_map = {i: '\\' + chr(i) for i in b'()[]{}?*+-|^$\\.&~# \t\n\r\v\f'} print(_special_chars_map) ``` **Before:** ```...

The original code creates an empty dictionary `{}` and invokes `add` to add the elements, but 'dict' objects have no attribute 'add'. Fix: create an empty set `set()`. **Before/After Testing**...