Skip to content

Commit 0189217

Browse files
committed
Adapts definitions preparing for #2632
1 parent 71788a2 commit 0189217

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

doc/Type/IO/Handle.pod6

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -353,8 +353,9 @@ with 'foo'.IO {
353353
354354
Defined as:
355355
356-
sub lines(IO::Handle:D $fh = $*ARGFILES, $limit = Inf, :$close --> Seq:D)
357-
method lines(IO::Handle:D: $limit = Inf, :$close --> Seq:D)
356+
sub lines( $what = $*ARGFILES, |c)
357+
method lines( IO::Handle:D: $limit, :$close )
358+
method lines( IO::Handle:D: :$close )
358359
359360
Return a L<Seq|/type/Seq> each element of which is a line from the handle (that is
360361
chunks delineated by L«C<.nl-in>|/type/IO::Handle#method_nl-in»). If the

0 commit comments

Comments
 (0)