Skip to content

Commit

Permalink
modify message body type comment, string => bytes
Browse files Browse the repository at this point in the history
  • Loading branch information
lishuo committed Nov 8, 2019
1 parent 94b9194 commit 5ec51de
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions nsq/message.py
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ class Message(event.EventedMixin):
:type id: string
:param body: the raw message body
:type body: string
:type body: bytes
:param timestamp: the timestamp the message was produced
:type timestamp: int
Expand All @@ -38,7 +38,7 @@ class Message(event.EventedMixin):
:type id: string
:ivar body: the raw message body (from the parameter).
:type body: string
:type body: bytes
:ivar timestamp: the timestamp the message was produced
(from the parameter).
Expand Down

0 comments on commit 5ec51de

Please sign in to comment.