@@ -335,11 +335,11 @@ Ruby also has `"squiggly" heredoc <https://ruby-doc.org/core-2.5.0/doc/syntax/li
335335that removes indent from lines in heredoc.
336336
337337Perl has `"Indented Here-documents <https://perldoc.perl.org/perl5260delta#Indented-Here-documents >`__
338- since Perl 5.26 too .
338+ since Perl 5.26 as well .
339339
340340Java, Julia, and Ruby uses the least-indented line to determine the amount of
341341indentation to be removed.
342- Swift, C#, PHP, and Perl uses the indentation of the closing triple quotes or
342+ Swift, C#, PHP, and Perl use the indentation of the closing triple quotes or
343343closing marker.
344344
345345
@@ -482,7 +482,7 @@ Since closing quotes can be on the same line as content, it looks symmetrical
482482to allow content right after opening quotes too.
483483And it would make it easier to rewrite existing ``""" `` to d-strings.
484484
485- On the other hand, it increase the number of syntax rules that readers need to
485+ On the other hand, it increases the number of syntax rules that readers need to
486486remember in order to understand how much indentation will be removed.
487487
488488Also, allowing content after opening quotes would not resolve the usability
@@ -491,7 +491,7 @@ issue where existing ``textwrap.dedent("""...""")`` users must write
491491Julia avoids this issue by removing the first newline when starting with
492492``"""<newline> ``, but this adds another syntax rule that users need to remember.
493493
494- Since we rejected the idea of using ``__future__ import `` , we prioritized
494+ Since we rejected the idea of using a ``__future__ `` import , we prioritized
495495ease of use for users rewriting from ``textwrap.dedent() `` or those who
496496wanted to use ``textwrap.dedent() `` but couldn't for some reason, over
497497the ease of rewriting existing multiline string literal users to d-strings.
0 commit comments