| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -101,7 +101,7 @@ extern struct symtable* _PySymtable_Build( | |||
| 101 | 101 | struct _mod *mod, | |
| 102 | 102 | PyObject *filename, | |
| 103 | 103 | PyFutureFeatures *future); | |
| 104 | - PyAPI_FUNC(PySTEntryObject *) PySymtable_Lookup(struct symtable *, void *); | ||
| 104 | + extern PySTEntryObject* _PySymtable_Lookup(struct symtable *, void *); | ||
| 105 | 105 | ||
| 106 | 106 | extern void _PySymtable_Free(struct symtable *); | |
| 107 | 107 | ||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -1280,7 +1280,7 @@ compiler_enter_scope(struct compiler *c, identifier name, | |||
| 1280 | 1280 | u->u_metadata.u_argcount = 0; | |
| 1281 | 1281 | u->u_metadata.u_posonlyargcount = 0; | |
| 1282 | 1282 | u->u_metadata.u_kwonlyargcount = 0; | |
| 1283 | - u->u_ste = PySymtable_Lookup(c->c_st, key); | ||
| 1283 | + u->u_ste = _PySymtable_Lookup(c->c_st, key); | ||
| 1284 | 1284 | if (!u->u_ste) { | |
| 1285 | 1285 | compiler_unit_free(u); | |
| 1286 | 1286 | return ERROR; | |
@@ -5685,7 +5685,7 @@ compiler_comprehension(struct compiler *c, expr_ty e, int type, | |||
| 5685 | 5685 | comprehension_ty outermost; | |
| 5686 | 5686 | int scope_type = c->u->u_scope_type; | |
| 5687 | 5687 | int is_top_level_await = IS_TOP_LEVEL_AWAIT(c); | |
| 5688 | - PySTEntryObject *entry = PySymtable_Lookup(c->c_st, (void *)e); | ||
| 5688 | + PySTEntryObject *entry = _PySymtable_Lookup(c->c_st, (void *)e); | ||
| 5689 | 5689 | if (entry == NULL) { | |
| 5690 | 5690 | goto error; | |
| 5691 | 5691 | } | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
@@ -389,7 +389,7 @@ _PySymtable_Free(struct symtable *st) | |||
| 389 | 389 | } | |
| 390 | 390 | ||
| 391 | 391 | PySTEntryObject * | |
| 392 | - PySymtable_Lookup(struct symtable *st, void *key) | ||
| 392 | + _PySymtable_Lookup(struct symtable *st, void *key) | ||
| 393 | 393 | { | |
| 394 | 394 | PyObject *k, *v; | |
| 395 | 395 | ||
| Back | FazBrowse Home | New Git URL |
0 commit comments