Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Reindex confusing ws page
  • Loading branch information
JJ committed Oct 11, 2018
1 parent 1e61135 commit bf57d08
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 4 deletions.
4 changes: 2 additions & 2 deletions doc/Language/grammars.pod6
Expand Up @@ -204,8 +204,8 @@ A different token can be chosen to be matched first using the C<:rule> named
argument to C<.parse>, C<.subparse>, or C<.parsefile>. These are all C<Grammar>
methods.
=head3 X<C<ws>|ws>
X<|ws>
=head3 C<ws>
When C<rule> instead of C<token> is used, any whitespace after terms and closing
parenthesis/brackets is turned into a non-capturing call to C<ws>,
Expand Down
3 changes: 1 addition & 2 deletions doc/Language/py-nutshell.pod6
Expand Up @@ -738,8 +738,7 @@ entered = input("Say hi → ")
print(entered)
=end code
When prompted, you can enter C<Hi> or any other string, which will be stored in
the C<entered> variable. This is similar to L<prompt> in Perl 6:
When prompted, you can enter C<Hi> or any other string, which will be stored in the C<entered> variable. This is similar to L<prompt> in Perl 6:
my $entered = prompt(" Say hi → ");
say $entered # OUTPUT: whatever you entered.
Expand Down

0 comments on commit bf57d08

Please sign in to comment.