Skip to content

Commit 08b4a05

Browse files
committed
clarify Buf.list() and Blob.list() return value's type
As discussed in #3266
1 parent 330d0cc commit 08b4a05

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

doc/Type/Blob.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -152,7 +152,7 @@ Defined as:
152152
153153
multi method list(Blob:D:)
154154
155-
Returns the list of codepoints:
155+
Returns a C<List> of integers that can be treated as codepoints:
156156
157157
say "zipi".encode("ascii").list; # OUTPUT: «(122 105 112 105)␤»
158158

doc/Type/Buf.pod6

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ Defined as:
116116
117117
multi method list(Buf:D:)
118118
119-
Returns a C<List> of codepoints.
119+
Returns a C<List> of integers that can be treated as codepoints.
120120
121121
say Buf.new(122,105,112,205).list; # OUTPUT: «(122 105 112 205)␤»
122122

0 commit comments

Comments
 (0)