python with assert_Python的assert_称为_with,是否有通配符?
假设我在python中设置了这样一个类。from somewhere import sendmailclass MyClass:def __init__(self, **kargs):self.sendmail = kwargs.get("sendmail", sendmail) #if we can't find it, use imported defdef publish():#lots ...