Skip to content

Commit bb849fc

Browse files
Fix: Jedi doesn't have an attribute ParseError.
1 parent 634ce38 commit bb849fc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

ptpython/utils.py

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -65,9 +65,6 @@ def get_jedi_script_from_document(document, locals, globals):
6565
except KeyError:
6666
# Workaroud for a crash when the input is "u'", the start of a unicode string.
6767
return None
68-
except jedi.ParseError:
69-
# Workaround for: ParseError: incomplete input: type='ENDMARKER', value='', start_pos=(4, 0)
70-
return None
7168

7269

7370
_multiline_string_delims = re.compile('''[']{3}|["]{3}''')

0 commit comments

Comments
 (0)