Skip to content

Commit ffa0d95

Browse files
committed
pythongh-92986: Make level of ImportFrom not optional on ASDL
1 parent b86d783 commit ffa0d95

File tree

2 files changed

+6
-8
lines changed

2 files changed

+6
-8
lines changed

Parser/Python.asdl

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ module Python
4444
| Assert(expr test, expr? msg)
4545

4646
| Import(alias* names)
47-
| ImportFrom(identifier? module, alias* names, int? level)
47+
| ImportFrom(identifier? module, alias* names, int level)
4848

4949
| Global(identifier* names)
5050
| Nonlocal(identifier* names)

Python/Python-ast.c

Lines changed: 5 additions & 7 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)