mirror of
https://github.com/python/cpython.git
synced 2025-10-17 20:28:43 +00:00
reject non-docs strings between future imports (closes #17434)
This commit is contained in:
parent
694bafa04e
commit
2d6acd2ac2
4 changed files with 28 additions and 11 deletions
3
Lib/test/badsyntax_future10.py
Normal file
3
Lib/test/badsyntax_future10.py
Normal file
|
@ -0,0 +1,3 @@
|
|||
from __future__ import absolute_import
|
||||
"spam, bar, blah"
|
||||
from __future__ import print_function
|
Loading…
Add table
Add a link
Reference in a new issue