def _register_adhoc_import(self, s):<EOL>
self.cur_namespace_adhoc_imports.add(s)<EOL>
Denotes an ad-hoc import.

For example,
_register_adhoc_import("import datetime")
or
_register_adhoc_import("from xyz import abc")