Correctly escape backslashes in docstring for get_content_titles
This commit is contained in:
@@ -361,7 +361,7 @@ class XModuleMixin(XBlockMixin):
|
|||||||
return result
|
return result
|
||||||
|
|
||||||
def has_children_at_depth(self, depth):
|
def has_children_at_depth(self, depth):
|
||||||
"""
|
r"""
|
||||||
Returns true if self has children at the given depth. depth==0 returns
|
Returns true if self has children at the given depth. depth==0 returns
|
||||||
false if self is a leaf, true otherwise.
|
false if self is a leaf, true otherwise.
|
||||||
|
|
||||||
@@ -384,7 +384,7 @@ class XModuleMixin(XBlockMixin):
|
|||||||
return any(child.has_children_at_depth(depth - 1) for child in self.get_children())
|
return any(child.has_children_at_depth(depth - 1) for child in self.get_children())
|
||||||
|
|
||||||
def get_content_titles(self):
|
def get_content_titles(self):
|
||||||
"""
|
r"""
|
||||||
Returns list of content titles for all of self's children.
|
Returns list of content titles for all of self's children.
|
||||||
|
|
||||||
SEQUENCE
|
SEQUENCE
|
||||||
|
|||||||
Reference in New Issue
Block a user