mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
Silly typo which caused the stack browser to crash.
This commit is contained in:
parent
a647807e40
commit
dbd0c3a124
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue