Skip to content

Commit

Permalink
Fix docs of WebSocketResponse.close and ClientWebSocketResponse.close (
Browse files Browse the repository at this point in the history
  • Loading branch information
decaz authored Feb 3, 2020
1 parent 5b4ce2a commit 7e8a94e
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/client_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1437,7 +1437,7 @@ manually.

:param int code: closing code

:param message: optional payload of *pong* message,
:param message: optional payload of *close* message,
:class:`str` (converted to *UTF-8* encoded bytes) or :class:`bytes`.

.. comethod:: receive()
Expand Down
2 changes: 1 addition & 1 deletion docs/web_reference.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1125,7 +1125,7 @@ WebSocketResponse

:param int code: closing code

:param message: optional payload of *pong* message,
:param message: optional payload of *close* message,
:class:`str` (converted to *UTF-8* encoded bytes)
or :class:`bytes`.

Expand Down

0 comments on commit 7e8a94e

Please sign in to comment.