Don't use the module object setattr when importing submodules. Instead,
operate on the module dictionary directly. This prevents spurious depreciation warnings from being raised if a submodule name shadows a builtin name.
N
Neil Schemenauer committed
00b0966f20e5d47291f2440e40d551525c1510a5
Parent: e0c3112