Skip to content

Commit

Permalink
Adjust article for IO::Socket::INET.accept method description.
Browse files Browse the repository at this point in the history
As far as source in rakudo 2018.01 the accept method returns an instance
of IO::Socket::INET class or a subclass. Therefore it could be returned
'an' instance of IO::Socket::INET or something below in the inheritance chain.

See issue #1929
  • Loading branch information
fluca1978 committed Apr 16, 2018
1 parent c31172e commit 86fb20c
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions doc/Type/IO/Socket/INET.pod6
Expand Up @@ -92,7 +92,8 @@ Returns a lazy list of lines read from the socket.
method accept()
In listen/server mode, waits for a new incoming connection.
Once a new connection is established, the C<IO::Socket::INET>
instance for consuming the connection is returned.
Once a new connection is established, an C<IO::Socket::INET>
instance (or a subclass instance) for consuming
the connection is returned.
=end pod

0 comments on commit 86fb20c

Please sign in to comment.