Skip to content

Commit

Permalink
[io grant] Polish IO::Handle.say
Browse files Browse the repository at this point in the history
- We have .put docs; mention them instead of .print
- Don't say we'll call .print-nl method; that's an implementation detail
  • Loading branch information
zoffixznet committed May 29, 2017
1 parent 70a80ec commit 6f58ed0
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions doc/Type/IO/Handle.pod6
Original file line number Diff line number Diff line change
Expand Up @@ -377,10 +377,9 @@ Defined as:
multi method say(IO::Handle:D: **@text --> True)
This method is identical to L<print|/type/IO::Handle#method_print> except
that it stringifies its arguments by calling C<.gist> on them and
auto-appends a newline, with a call to L<print-nl|/type/IO::Handle#method_print-nl>,
after the final argument.
This method is identical to L<put|/type/IO::Handle#method_put> except
that it stringifies its arguments by calling L«C<.gist>|/routine/gist» instead
of L«C<.Str>|/routine/Str».
Attempting to call this method when the handle is
L<in binary mode|/type/IO::Handle#method_encoding> will result in
Expand Down

0 comments on commit 6f58ed0

Please sign in to comment.