def mark_rewrite(self, *names):
already_imported = (<EOL>set(names).intersection(sys.modules).difference(self._rewritten_names)<EOL>)<EOL>for name in already_imported:<EOL><INDENT>if not AssertionRewriter.is_rewrite_disabled(<EOL>sys.modules[name].__doc__ or "<STR_LIT>"<EOL>):<EOL><INDENT>self._warn_already_imported(name)<EOL><DEDENT><DEDENT>self._must_rewrite.update(names)<EOL>self._marked_for_rewrite_cache.clear()<EOL>
Mark import names as needing to be rewritten.

        The named module or package as well as any nested modules will
        be rewritten on import.