def encode(str_, codec='utf8'):
    if PYTHON3:
        return str_
    else:
        return str_.encode(codec)
Mark a review group as starred.
dataset/ETHPy150Open serverdensity/sdbot/limbo/utils/__init__.py/encode--crossover with--dataset/ETHPy150Open reviewboard/reviewboard/reviewboard/accounts/models.py/Profile.star_review_group