Fixed #22618 -- Improved import_string example.

Thanks ewjoachim for the sugggestion.