From 8a73a736e385a3cd67ca12cbc02568fdd1c010ce Mon Sep 17 00:00:00 2001 From: Calen Pennington Date: Tue, 3 Mar 2015 14:28:04 -0500 Subject: [PATCH] Correctly escape backslashes in docstring for get_content_titles --- common/lib/xmodule/xmodule/x_module.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/lib/xmodule/xmodule/x_module.py b/common/lib/xmodule/xmodule/x_module.py index 92b22a74e8..0aff5646a0 100644 --- a/common/lib/xmodule/xmodule/x_module.py +++ b/common/lib/xmodule/xmodule/x_module.py @@ -361,7 +361,7 @@ class XModuleMixin(XBlockMixin): return result def has_children_at_depth(self, depth): - """ + r""" Returns true if self has children at the given depth. depth==0 returns 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()) def get_content_titles(self): - """ + r""" Returns list of content titles for all of self's children. SEQUENCE