import copy


def comment_praw2psaw(comment_praw):
    """Convert praw comment to psaw type dict(ish)."""
    cp_dict = copy.deepcopy(comment_praw.__dict__)
    del cp_dict["_reddit"]
    cp_dict["author"] = cp_dict["author"].name
    cp_dict["subreddit"] = cp_dict["subreddit"].name
    cp_dict["parent_id"] = cp_dict["parent_id"][3:]
    return cp_dict