def handle_global(self, span, name):
'''Should be called to signalize a global directive.
Args:
span (tuple of int): Start and end line of the directive.
name (str): Name of the variable(s) to make global.
'''
self._curnode.append(('global', self._curfile, span, name))
评论列表
文章目录