Allow for the possibility that globals['__name__'] does not exist;
substitute "<string>" for the module name in that case. This actually occurred when running test_descr.py with -Dwarn.
Showing
Please
register
or
sign in
to comment
substitute "<string>" for the module name in that case. This actually occurred when running test_descr.py with -Dwarn.