mirror of
https://github.com/python/cpython.git
synced 2025-08-30 21:48:47 +00:00
gh-133306: Use \z instead of \Z in regular expressions in the stdlib (GH-133337)
This commit is contained in:
parent
add0ca9ea0
commit
84a08f8629
16 changed files with 23 additions and 23 deletions
|
@ -1350,7 +1350,7 @@ class PyShell(OutputWindow):
|
|||
self.text.see("insert")
|
||||
self.text.undo_block_stop()
|
||||
|
||||
_last_newline_re = re.compile(r"[ \t]*(\n[ \t]*)?\Z")
|
||||
_last_newline_re = re.compile(r"[ \t]*(\n[ \t]*)?\z")
|
||||
def runit(self):
|
||||
index_before = self.text.index("end-2c")
|
||||
line = self.text.get("iomark", "end-1c")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue