我使用相同的变量进行鼠标悬停和鼠标移除,有没有办法缩短它?
fetch = client.fetch('2Oe3UKM_Nt_NG1UG');
print(fetch.statuses)
print(type(fetch.statuses))
Output:
[<ObjectCreatedName object at 0x03CC07F0>]
<class 'list'>
class ObjectCreatedName(object):
def __init__(self):
self.code = None
self.status = None
self.count = None
&#13;