mirror of
https://github.com/davidhalter/jedi.git
synced 2026-05-25 01:38:36 +08:00
Return 'class' as BaseName.type of _PseudoTreeNameClass (fix #1578)
This commit is contained in:
@@ -306,6 +306,8 @@ class _PseudoTreeNameClass(Value):
|
|||||||
this class. Essentially this class makes it possible to goto that `Tuple`
|
this class. Essentially this class makes it possible to goto that `Tuple`
|
||||||
name, without affecting anything else negatively.
|
name, without affecting anything else negatively.
|
||||||
"""
|
"""
|
||||||
|
api_type = u'class'
|
||||||
|
|
||||||
def __init__(self, parent_context, tree_name):
|
def __init__(self, parent_context, tree_name):
|
||||||
super(_PseudoTreeNameClass, self).__init__(
|
super(_PseudoTreeNameClass, self).__init__(
|
||||||
parent_context.inference_state,
|
parent_context.inference_state,
|
||||||
|
|||||||
Reference in New Issue
Block a user