各位早上好:
如题, 在看pysmb的示范代码的时候看到下面的代码:
@with_setup(setup_func_SMB1, teardown_func)
def test_retr_multiplereads_SMB1():
____# Test file retrieval using multiple ReadAndx calls (assuming each call will ____not reach more than 65534 bytes)
____global conn
____temp_fh = StringIO()
____file_attributes, filesize = conn.retrieveFile('smbtest', '/rfc1001.txt', temp_fh)
....
请教各位其中的@那一行可能是什么意思?
如题, 在看pysmb的示范代码的时候看到下面的代码:
@with_setup(setup_func_SMB1, teardown_func)
def test_retr_multiplereads_SMB1():
____# Test file retrieval using multiple ReadAndx calls (assuming each call will ____not reach more than 65534 bytes)
____global conn
____temp_fh = StringIO()
____file_attributes, filesize = conn.retrieveFile('smbtest', '/rfc1001.txt', temp_fh)
....
请教各位其中的@那一行可能是什么意思?