python运算符重载之实现__add__方法即可(支持任意对象加减乘除运算....)
class Scope: scope_api = ['blueprint_v1_users.api+register'] def __add__(self, scope): self.scope_api += scope.scope_api list去重复,在转换成list(set集合不支持相加操作) self.scope...