Multi-Lingual Interoperability System
def hello_world() # callable=hello_world
class testmap:
@property
def name(self) # callable=testmap.name.fget
@name.setter
def name(self, new_name) # callable=testmap.name.fset
def contains(self, k: str) # callable=testmap.contains
five_seconds = 5 # attribute=five_seconds
class testmap:
static_name = 'name' # attribute=testmap.static_name
def __init__(self):
self.name = 'name1' # attribute=testmap.name
self
).class testmap:
def __init__(self): # callable=testmap.__init__,instance_required
self.name = 'name1' # attribute=testmap.name,instance_required
# attribute=five_seconds,setter
five_seconds = 5
class testmap:
def __init__(self):
# attribute=testmap.name,instance_required,setter
self.name = 'name1'
# attribute=five_seconds,getter
five_seconds = 5
class testmap:
def __init__(self):
# attribute=testmap.name,instance_required,getter
self.name = 'name1'
def f(self, value='default', *args) # callable=f,varargs
def f(self, value='default', **named_args) # callable=f,named_args
def g(self, *, named: str) # callable=g,named_args
def h(self, *args, **named_args) # callable=h,named_args,varargs