summaryrefslogtreecommitdiffstats
path: root/Mac/Tools/IDE/PyBrowser.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-07-10 19:25:40 (GMT)
committerJust van Rossum <just@letterror.com>2001-07-10 19:25:40 (GMT)
commit3eec7620be596daf4c3f96dbc7fc93afcf639b00 (patch)
tree746bcaaed11384bf9da0cde441eb6c9f7ed3b52b /Mac/Tools/IDE/PyBrowser.py
parent353ae5896499d0ec297cff00e3686f4cd88668c3 (diff)
downloadcpython-3eec7620be596daf4c3f96dbc7fc93afcf639b00.zip
cpython-3eec7620be596daf4c3f96dbc7fc93afcf639b00.tar.gz
cpython-3eec7620be596daf4c3f96dbc7fc93afcf639b00.tar.bz2
- fixed some re usage, partly so it'll still work when re uses pre instead
of sre, and partly fixing re -> regex porting oversights - fixed PyFontify.py so it actually *works* again..
Diffstat (limited to 'Mac/Tools/IDE/PyBrowser.py')
-rw-r--r--Mac/Tools/IDE/PyBrowser.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mac/Tools/IDE/PyBrowser.py b/Mac/Tools/IDE/PyBrowser.py
index 19319a1..c8e5066 100644
--- a/Mac/Tools/IDE/PyBrowser.py
+++ b/Mac/Tools/IDE/PyBrowser.py
@@ -13,7 +13,7 @@ opensolidid = struct.pack('h', 471)
arrows = (nullid, closedid, openid, closedsolidid, opensolidid)
-has_ctlcharsRE = re.compile('[\000-\037\177-\377]')
+has_ctlcharsRE = re.compile(r'[\000-\037\177-\377]')
def ctlcharsREsearch(str):
if has_ctlcharsRE.search(str) is None:
return -1