def count_trailing_newlines(s):
    return s[len(s.rstrip()):].count('\n')
Ctor
dataset/ETHPy150Open KristoforMaynard/SublimeAutoDocstring/docstring_styles.py/count_trailing_newlines--crossover with--dataset/ETHPy150Open mikrosimage/ColorPipe-tools/utils/colorspaces.py/Rec2020.__init__