我是 python 的新手,并试图了解尾部斜杠在语言中的含义。具体来说,我正在使用 Scapy 库,并试图破译 Scapy 的inject.py源文件中的 get_rsn_information 方法:
def get_rsn_information(self, essid):
rsnInfo = None
sendp(
RadioTap()/
Dot11(addr1=self.bssid, addr2=self.source_mac, addr3=self.bssid, SC=self.__fixSC__(), subtype=4)/
Dot11ProbeReq()/
Dot11Elt(ID=0, info=essid)/
Dot11Elt(ID=1, info='\x82\x84\x0b\x16\x24\x30\x48\x6c')/
Dot11Elt(ID=50, info='\x0c\x12\x18\x60'),
iface=self.interface,
verbose=False
)
<...snip...>
Run Code Online (Sandbox Code Playgroud)
当我看到一条看起来像这样的行时:
RadioTap()/
Run Code Online (Sandbox Code Playgroud)
尾随斜线表示什么?