def get_scale_docs():
docs = []<EOL>for name in get_scale_names():<EOL><INDENT>scale_class = _scale_mapping[name]<EOL>docs.append("<STR_LIT>" % name)<EOL>docs.append("<STR_LIT>")<EOL>class_docs = dedent(scale_class.__init__.__doc__)<EOL>class_docs = "<STR_LIT>".join(["<STR_LIT>" %<EOL>x for x in class_docs.split("<STR_LIT:\n>")])<EOL>docs.append(class_docs)<EOL>docs.append("<STR_LIT>")<EOL><DEDENT>return "<STR_LIT:\n>".join(docs)<EOL>
Helper function for generating docstrings related to scales.