Skip to content

Commit bf29816

Browse files
committed
Docs: updating the way RawPacket is documented
1 parent 9e70dd0 commit bf29816

1 file changed

Lines changed: 5 additions & 5 deletions

File tree

rawsocketpy/packet.py

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff 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"""

0 commit comments

Comments
 (0)