diff options
author | YAMAMOTO Takashi <yamamoto@valinux.co.jp> | 2013-08-13 10:07:55 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2013-08-13 20:25:56 +0900 |
commit | d15a23488fa8a9d912de2bc41b22a93f4d025185 (patch) | |
tree | 9e965523aeb0012a6ba8bd9a34041ffda53fcb01 | |
parent | 0a8e581628a4086fe2215ec7743eed69d303b92b (diff) |
packet_base: update docstring
Signed-off-by: YAMAMOTO Takashi <yamamoto@valinux.co.jp>
Signed-off-by: FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>
-rw-r--r-- | ryu/lib/packet/packet_base.py | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/ryu/lib/packet/packet_base.py b/ryu/lib/packet/packet_base.py index 0731fd95..cbc213fd 100644 --- a/ryu/lib/packet/packet_base.py +++ b/ryu/lib/packet/packet_base.py @@ -56,21 +56,16 @@ class PacketBase(stringify.StringifyMixin): This method is used only when decoding a packet. Decode a protocol header at offset 0 in bytearray *buf*. - Returns the following two objects. + Returns the following three objects. * An object to describe the decoded header. - It should have the following attributes at least. - - =========== ============ - Attribute Description - =========== ============ - length The number of the corresponding on-wire octets. - =========== ============ * A packet_base.PacketBase subclass appropriate for the rest of the packet. None when the rest of the packet should be considered as raw payload. + * The rest of packet. + """ pass |