def pre_safe_import_module(api):
 real_to_six_module_name = eval_statement('\nimport six\nprint(\'{\')\n\n# Iterate over the "six._moved_attributes" list rather than the\n# "six._importer.known_modules" dictionary, as "urllib"-specific moved modules\n# are overwritten in the latter with unhelpful "LazyModule" objects.\nfor moved_module in six._moved_attributes:\n    # If this is a moved module or attribute, map the corresponding module. In\n    # the case of moved attributes, the attribute\'s module is mapped while the\n    # attribute itself is mapped at runtime and hence ignored here.\n    if isinstance(moved_module, (six.MovedModule, six.MovedAttribute)):\n        print(\'  %r: %r,\' % (\n            moved_module.mod, \'six.moves.\' + moved_module.name))\n\nprint(\'}\')\n')
 api.add_runtime_package(api.module_name)
 for (real_module_name, six_module_name) in real_to_six_module_name.items():
  api.add_alias_module(real_module_name, six_module_name)

def pre_safe_import_module ( api ) : real_to_six_module_name = eval_statement ( '\nimport six\nprint(\'{\')\n\n# Iterate over the "six._moved_attributes" list rather than the\n# "six._importer.known_modules" dictionary, as "urllib"-specific moved modules\n# are overwritten in the latter with unhelpful "LazyModule" objects.\nfor moved_module in six._moved_attributes:\n    # If this is a moved module or attribute, map the corresponding module. In\n    # the case of moved attributes, the attribute\'s module is mapped while the\n    # attribute itself is mapped at runtime and hence ignored here.\n    if isinstance(moved_module, (six.MovedModule, six.MovedAttribute)):\n        print(\'  %r: %r,\' % (\n            moved_module.mod, \'six.moves.\' + moved_module.name))\n\nprint(\'}\')\n' ) api . add_runtime_package ( api . module_name ) for ( real_module_name , six_module_name ) in real_to_six_module_name . items ( ) : api . add_alias_module ( real_module_name , six_module_name )
add the six .