Skip to content

Commit 6f58ed0

Browse files
committed
[io grant] Polish IO::Handle.say
- We have .put docs; mention them instead of .print - Don't say we'll call .print-nl method; that's an implementation detail
1 parent 70a80ec commit 6f58ed0

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -377,10 +377,9 @@ Defined as:
377377
378378
multi method say(IO::Handle:D: **@text --> True)
379379
380-
This method is identical to L<print|/type/IO::Handle#method_print> except
381-
that it stringifies its arguments by calling C<.gist> on them and
382-
auto-appends a newline, with a call to L<print-nl|/type/IO::Handle#method_print-nl>,
383-
after the final argument.
380+
This method is identical to L<put|/type/IO::Handle#method_put> except
381+
that it stringifies its arguments by calling L«C<.gist>|/routine/gist» instead
382+
of L«C<.Str>|/routine/Str».
384383
385384
Attempting to call this method when the handle is
386385
L<in binary mode|/type/IO::Handle#method_encoding> will result in

0 commit comments

Comments
 (0)