code: def separate_comma_imports(partitions):
      
      def _inner():
          for partition in partitions:
              if partition.code_type is CodeType.IMPORT:
                  import_obj = import_obj_from_str(partition.src)
                  if import_obj.has_multiple_imports:
                      for new_import_obj in import_obj.split_imports():
                          yield CodePartition(
                              CodeType.IMPORT, new_import_obj.to_text(),
                          )
                  else:
                      yield partition
              else:
                  yield partition
  
      return list(_inner())
docs: Turns `import a, b` into `import a` and `import b`