From 61351b19bd427b7939fb463f283ef837b8d4656e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Piotr=20Ma=C5=9Blanka?= <piotr.maslanka@henrietta.com.pl> Date: Fri, 3 Jan 2020 18:11:26 +0100 Subject: [PATCH] fix pydoc --- coolamqp/framing/base.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/coolamqp/framing/base.py b/coolamqp/framing/base.py index e41b69f..4378565 100644 --- a/coolamqp/framing/base.py +++ b/coolamqp/framing/base.py @@ -165,12 +165,12 @@ class AMQPMethodPayload(AMQPPayload): raise RuntimeError('Should never be executed!') - def write_arguments(self, buf): # type: (tp.BinaryIO) -> None + def write_arguments(self, buf): """ - Write the argument portion of this frame into buffer. + Write the argument portion of this frame into target buffer. :param buf: buffer to write to - :return: how many bytes written + :type buf: tp.BinaryIO :raise ValueError: some field here is invalid! """ raise NotImplementedError() @@ -184,7 +184,7 @@ class AMQPMethodPayload(AMQPPayload): :type buf: buffer or memoryview :param offset: offset the argument portion begins at :type offset: int - :return: tuple of (an instance of this class, amount of bytes consumed as int) + :return: an instance of this class :raise ValueError: invalid data """ raise NotImplementedError('') -- GitLab