Commit ea841fb8 by dragonfi

Add a docstring for _index_steps

parent 0d915cc4
...@@ -115,6 +115,7 @@ class MentoringBlock(XBlockWithLightChildren): ...@@ -115,6 +115,7 @@ class MentoringBlock(XBlockWithLightChildren):
return (score, int(round(score * 100)), correct, incorrect) return (score, int(round(score * 100)), correct, incorrect)
def _index_steps(self): def _index_steps(self):
"""Add an index to each step that can be used in the step's title."""
steps = self.steps steps = self.steps
if len(steps) == 1: if len(steps) == 1:
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment