1
0
forked from VimPlug/jedi

Removed various 3.3/3.4/3.5 references

This commit is contained in:
Dave Halter
2020-07-02 00:34:22 +02:00
parent 9d5acf3c53
commit 23db298e2f
8 changed files with 1 additions and 30 deletions

View File

@@ -131,15 +131,7 @@ def safe_literal_eval(value):
# manually, but that's right now not implemented.
return ''
try:
return literal_eval(value)
except SyntaxError:
# It's possible to create syntax errors with literals like rb'' in
# Python 2. This should not be possible and in that case just return an
# empty string.
# Before Python 3.3 there was a more strict definition in which order
# you could define literals.
return ''
return literal_eval(value)
def get_signature(funcdef, width=72, call_string=None,