[ i for i in dir(set) if not i.startswith('_') ]
Python 函数返回值类型
原文:https://www.cnblogs.com/meilong/p/Python-cha-kan-shu-ju-lei-xing-de-fang-fa.html