mirror of
https://github.com/davidhalter/jedi.git
synced 2026-02-12 11:51:41 +08:00
Further fixes for failing tests.
This commit is contained in:
@@ -43,7 +43,10 @@ def token_to_ilabel(grammar, type_, value):
|
||||
except KeyError:
|
||||
pass
|
||||
|
||||
return grammar.tokens[type_]
|
||||
try:
|
||||
return grammar.tokens[type_]
|
||||
except KeyError:
|
||||
return None
|
||||
|
||||
|
||||
class PgenParser(object):
|
||||
|
||||
Reference in New Issue
Block a user