mirror of https://github.com/python/cpython
Silly typo which caused the stack browser to crash.
This commit is contained in:
parent
a647807e40
commit
dbd0c3a124
|
@ -15,7 +15,7 @@ arrows = (nullid, closedid, openid, closedsolidid, opensolidid)
|
|||
|
||||
has_ctlcharsRE = re.compile('[\000-\037\177-\377]')
|
||||
def ctlcharsREsearch(str):
|
||||
if has_ctlcharsRE(str) is None:
|
||||
if has_ctlcharsRE.search(str) is None:
|
||||
return -1
|
||||
return 1
|
||||
|
||||
|
|
Loading…
Reference in New Issue