mirror of
https://github.com/python/cpython.git
synced 2025-08-03 00:23:06 +00:00
#18741: fix more typos. Patch by Févry Thibault.
This commit is contained in:
parent
9ff79f7c46
commit
b5bc353b88
22 changed files with 38 additions and 36 deletions
|
@ -77,7 +77,7 @@ class TestRaiseChanges(GrammarTest):
|
|||
self.invalid_syntax("raise E from")
|
||||
|
||||
|
||||
# Adapated from Python 3's Lib/test/test_grammar.py:GrammarTests.testFuncdef
|
||||
# Adaptated from Python 3's Lib/test/test_grammar.py:GrammarTests.testFuncdef
|
||||
class TestFunctionAnnotations(GrammarTest):
|
||||
def test_1(self):
|
||||
self.validate("""def f(x) -> list: pass""")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue