Skip to content

Commit 8399abc

Browse files
committed
Fix edoc XML parsing error in binary literal documentation
1 parent 504eb76 commit 8399abc

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

src/py_nif.erl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -669,7 +669,7 @@ accept_test_tcp(_ListenFd) ->
669669
?NIF_STUB.
670670

671671
%% @doc Connect to a TCP server.
672-
%% Host should be a binary like <<"127.0.0.1">>.
672+
%% Host should be a binary like `&lt;&lt;"127.0.0.1"&gt;&gt;'.
673673
-spec connect_test_tcp(binary(), integer()) -> {ok, integer()} | {error, term()}.
674674
connect_test_tcp(_Host, _Port) ->
675675
?NIF_STUB.
@@ -692,7 +692,7 @@ recvfrom_test_udp(_Fd, _MaxSize) ->
692692
?NIF_STUB.
693693

694694
%% @doc Send data to a UDP destination address.
695-
%% Host should be a binary like <<"127.0.0.1">>.
695+
%% Host should be a binary like `&lt;&lt;"127.0.0.1"&gt;&gt;'.
696696
-spec sendto_test_udp(integer(), binary(), binary(), integer()) -> ok | {error, term()}.
697697
sendto_test_udp(_Fd, _Data, _Host, _Port) ->
698698
?NIF_STUB.

0 commit comments

Comments
 (0)