mirror of
https://github.com/python/cpython.git
synced 2025-11-01 18:51:43 +00:00
Issue #26304: Change "allows to <verb>" to "allows <verb>ing" or similar
The original form is incorrect grammar and feels awkward, even though the meaning is clear.
This commit is contained in:
parent
96a4f07107
commit
c04fb56e36
25 changed files with 76 additions and 76 deletions
|
|
@ -190,7 +190,7 @@ class TimeRETests(unittest.TestCase):
|
|||
|
||||
def test_whitespace_substitution(self):
|
||||
# When pattern contains whitespace, make sure it is taken into account
|
||||
# so as to not allow to subpatterns to end up next to each other and
|
||||
# so as to not allow subpatterns to end up next to each other and
|
||||
# "steal" characters from each other.
|
||||
pattern = self.time_re.pattern('%j %H')
|
||||
self.assertFalse(re.match(pattern, "180"))
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue