mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
Minor code clean up and improvements in the re module.
This commit is contained in:
parent
9a64ccb997
commit
ab14088141
4 changed files with 13 additions and 17 deletions
|
@ -1101,8 +1101,8 @@ class ReTests(unittest.TestCase):
|
|||
|
||||
def test_inline_flags(self):
|
||||
# Bug #1700
|
||||
upper_char = chr(0x1ea0) # Latin Capital Letter A with Dot Bellow
|
||||
lower_char = chr(0x1ea1) # Latin Small Letter A with Dot Bellow
|
||||
upper_char = '\u1ea0' # Latin Capital Letter A with Dot Below
|
||||
lower_char = '\u1ea1' # Latin Small Letter A with Dot Below
|
||||
|
||||
p = re.compile(upper_char, re.I | re.U)
|
||||
q = p.match(lower_char)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue