1
0
forked from VimPlug/jedi

Fix an issue with namedtuples

This commit is contained in:
Dave Halter
2019-05-31 15:21:03 +02:00
parent 6d62e55b5e
commit 6cdde65052
2 changed files with 15 additions and 3 deletions
+3
View File
@@ -217,6 +217,9 @@ def get_int_or_none(context):
return _get_safe_value_or_none(context, int)
def get_str_or_none(context):
return _get_safe_value_or_none(context, (bytes, unicode))
def is_number(context):
return _get_safe_value_or_none(context, (int, float)) is not None