| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
1 parent 92a865c commit dae3dda
2 files changed
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -91,7 +91,7 @@ PyAPI_FUNC(int) PyImport_AppendInittab( | |||
| 91 | 91 | typedef enum { | |
| 92 | 92 | PyImport_LAZY_NORMAL, | |
| 93 | 93 | PyImport_LAZY_ALL, | |
| 94 | - PyImport_LAZY_NONE, | ||
| 94 | + PyImport_LAZY_NONE | ||
| 95 | 95 | } PyImport_LazyImportsMode; | |
| 96 | 96 | ||
| 97 | 97 | #ifndef Py_LIMITED_API | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -356,9 +356,9 @@ def test_same_name_different_types(self) -> None: | |||
| 356 | 356 | grammar_source = """ | |
| 357 | 357 | start[mod_ty]: a[asdl_stmt_seq*]=import_from+ NEWLINE ENDMARKER { _PyAST_Module(a, NULL, p->arena)} | |
| 358 | 358 | import_from[stmt_ty]: ( a='from' !'import' c=simple_name 'import' d=import_as_names_from { | |
| 359 | - _PyAST_ImportFrom(c->v.Name.id, d, 0, EXTRA) } | ||
| 359 | + _PyAST_ImportFrom(c->v.Name.id, d, 0, 0, EXTRA) } | ||
| 360 | 360 | | a='from' '.' 'import' c=import_as_names_from { | |
| 361 | - _PyAST_ImportFrom(NULL, c, 1, EXTRA) } | ||
| 361 | + _PyAST_ImportFrom(NULL, c, 1, 0, EXTRA) } | ||
| 362 | 362 | ) | |
| 363 | 363 | simple_name[expr_ty]: NAME | |
| 364 | 364 | import_as_names_from[asdl_alias_seq*]: a[asdl_alias_seq*]=','.import_as_name_from+ { a } | |
| Back | FazBrowse Home | New Git URL |
0 commit comments