Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit aa2e667

Browse files
committed
add error for shadowing
1 parent 6ce3a67 commit aa2e667

File tree

4 files changed

+287
-131
lines changed

4 files changed

+287
-131
lines changed

Include/internal/pycore_moduleobject.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ extern void _PyModule_Clear(PyObject *);
1212
extern void _PyModule_ClearDict(PyObject *);
1313
extern int _PyModuleSpec_IsInitializing(PyObject *);
1414
extern int _PyModuleSpec_GetFileOrigin(PyObject *, PyObject **);
15+
extern int _PyModule_IsPossiblyShadowing(PyObject *);
1516

1617
extern int _PyModule_IsExtension(PyObject *obj);
1718

0 commit comments

Comments
 (0)