From 0189217bdb2692b7f7479dd85f3ae57b8435c247 Mon Sep 17 00:00:00 2001 From: JJ Merelo Date: Sun, 19 Jan 2020 10:17:30 +0100 Subject: [PATCH] Adapts definitions preparing for #2632 --- doc/Type/IO/Handle.pod6 | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/doc/Type/IO/Handle.pod6 b/doc/Type/IO/Handle.pod6 index bc582ef4e..bdf5dbee5 100644 --- a/doc/Type/IO/Handle.pod6 +++ b/doc/Type/IO/Handle.pod6 @@ -353,8 +353,9 @@ with 'foo'.IO { Defined as: - sub lines(IO::Handle:D $fh = $*ARGFILES, $limit = Inf, :$close --> Seq:D) - method lines(IO::Handle:D: $limit = Inf, :$close --> Seq:D) + sub lines( $what = $*ARGFILES, |c) + method lines( IO::Handle:D: $limit, :$close ) + method lines( IO::Handle:D: :$close ) Return a L each element of which is a line from the handle (that is chunks delineated by L«C<.nl-in>|/type/IO::Handle#method_nl-in»). If the