File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -14,20 +14,20 @@ def __init__(self, data):
1414 """A really simple class.
1515
1616 :param data: raw ethernet II frame coming from the socket library, either **bytes in Python3** or **str in Python2**
17- :type data: str/ bytes/ bytearray
17+ :type data: str or bytes or bytearray
1818 """
1919 self .dest = ""
2020 """:description: Destination MAC address
21- :type: str/ bytes/ bytearray"""
21+ :type: str or bytes or bytearray"""
2222 self .src = ""
2323 """:description: Source MAC address
24- :type: str/ bytes/ bytearray"""
24+ :type: str or bytes or bytearray"""
2525 self .type = ""
2626 """:description: Ethertype
27- :type: str/ bytes/ bytearray"""
27+ :type: str or bytes or bytearray"""
2828 self .data = ""
2929 """:description: Payload received
30- :type: str/ bytes/ bytearray"""
30+ :type: str or bytes or bytearray"""
3131 self .success = False
3232 """:description: True if the packet has been successfully unmarshalled
3333 :type: bool"""
You can’t perform that action at this time.
0 commit comments