1
0
forked from VimPlug/jedi

Add a comment about how _ArrayInstance is used

This commit is contained in:
Dave Halter
2019-08-25 17:00:57 +02:00
parent 0f13e02fc2
commit d31ca7e9f0

View File

@@ -736,6 +736,10 @@ class _ArrayInstance(HelperValueMixin):
Used for the usage of set() and list().
This is definitely a hack, but a good one :-)
It makes it possible to use set/list conversions.
This is not a proper context, because it doesn't have to be. It's not used
in the wild, it's just used within typeshed as an argument to `__init__`
for set/list and never used in any other place.
"""
def __init__(self, instance, var_args):
self.instance = instance