def set_name(name):
'''Set the name of the current function to ``name``.'''
# we use ui.current.address() instead of ui.current.function()
# in case the user might be hovering over an import table
# function and wanting to rename that instead.
return set_name(ui.current.address(), name)
评论列表
文章目录