Skip to content

Commit

Permalink
add error for shadowing
Browse files Browse the repository at this point in the history
  • Loading branch information
hauntsaninja committed Sep 11, 2024
1 parent 6ce3a67 commit aa2e667
Show file tree
Hide file tree
Showing 4 changed files with 287 additions and 131 deletions.
1 change: 1 addition & 0 deletions Include/internal/pycore_moduleobject.h
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ extern void _PyModule_Clear(PyObject *);
extern void _PyModule_ClearDict(PyObject *);
extern int _PyModuleSpec_IsInitializing(PyObject *);
extern int _PyModuleSpec_GetFileOrigin(PyObject *, PyObject **);
extern int _PyModule_IsPossiblyShadowing(PyObject *);

extern int _PyModule_IsExtension(PyObject *obj);

Expand Down
Loading

0 comments on commit aa2e667

Please sign in to comment.